]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix schema.org context
authorChocobozzz <me@florianbigard.com>
Tue, 7 Jun 2022 06:42:44 +0000 (08:42 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 7 Jun 2022 06:47:41 +0000 (08:47 +0200)
server/lib/activitypub/context.ts
server/tests/api/activitypub/helpers.ts

index b452cf9b3c5cb83d48cc870d0509c10dc4e4d4f6..5d6aee315161e30a4993dd20d94f0280c00ffa25 100644 (file)
@@ -179,7 +179,7 @@ function buildContext (contextValue?: ContextValue) {
 
     {
       pt: 'https://joinpeertube.org/ns#',
-      sc: 'http://schema.org#',
+      sc: 'http://schema.org/',
 
       ...contextValue
     }
index bc1de35d1f7f5da98e9e28e8f1bb2c01d91eb8f8..56de7a87913f1eb65c1c663d9d97c635a8ac94d2 100644 (file)
@@ -9,6 +9,7 @@ import { buildAbsoluteFixturePath } from '@shared/core-utils'
 import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto'
 
 describe('Test activity pub helpers', function () {
+
   describe('When checking the Linked Signature', function () {
 
     it('Should fail with an invalid Mastodon signature', async function () {