Fix schema.org context

pull/5042/head
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 () {