Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix schema.org context

Chocobozzz4d526901349b
diff --git a/server/lib/activitypub/context.ts b/server/lib/activitypub/context.ts
index b452cf9b3c..5d6aee3151 100644
--- a/server/lib/activitypub/context.ts
+++ b/server/lib/activitypub/context.ts
@@ -179,7 +179,7 @@ function buildContext (contextValue?: ContextValue) {
{
pt: 'https://joinpeertube.org/ns#',
- sc: 'http://schema.org#',
+ sc: 'http://schema.org/',
...contextValue
}
diff --git a/server/tests/api/activitypub/helpers.ts b/server/tests/api/activitypub/helpers.ts
index bc1de35d1f..56de7a8791 100644
--- a/server/tests/api/activitypub/helpers.ts
+++ b/server/tests/api/activitypub/helpers.ts
@@ -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 () {