Skip to content

Commit

Permalink
Fix schema.org context
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Jun 7, 2022
1 parent ceecd87 commit 4d52690
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/lib/activitypub/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function buildContext (contextValue?: ContextValue) {

{
pt: 'https://joinpeertube.org/ns#',
sc: 'http://schema.org#',
sc: 'http://schema.org/',

...contextValue
}
Expand Down
1 change: 1 addition & 0 deletions server/tests/api/activitypub/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 4d52690

Please sign in to comment.