1
0
Fork 0

Fix schema.org context

This commit is contained in:
Chocobozzz 2022-06-07 08:42:44 +02:00
parent ceecd871a4
commit 4d52690134
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 2 additions and 1 deletions

View file

@ -179,7 +179,7 @@ function buildContext (contextValue?: ContextValue) {
{
pt: 'https://joinpeertube.org/ns#',
sc: 'http://schema.org#',
sc: 'http://schema.org/',
...contextValue
}

View 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 () {