diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-27 14:32:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-27 15:12:22 +0200 |
commit | 41fb13c330de629df2d23379209e79c7af0f2e9a (patch) | |
tree | 73bc5a90566406b3910f142beae2a879c1e4265d /server/helpers/custom-jsonld-signature.ts | |
parent | 40e7ed0714f96c01e16de3ac971a4b28116294e1 (diff) | |
download | PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.tar.gz PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.tar.zst PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.zip |
esModuleInterop to true
Diffstat (limited to 'server/helpers/custom-jsonld-signature.ts')
-rw-r--r-- | server/helpers/custom-jsonld-signature.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/helpers/custom-jsonld-signature.ts b/server/helpers/custom-jsonld-signature.ts index 56f10086c..3c706e372 100644 --- a/server/helpers/custom-jsonld-signature.ts +++ b/server/helpers/custom-jsonld-signature.ts | |||
@@ -1,7 +1,8 @@ | |||
1 | import * as AsyncLRU from 'async-lru' | 1 | import AsyncLRU from 'async-lru' |
2 | import * as jsonld from 'jsonld' | ||
3 | import { logger } from './logger' | 2 | import { logger } from './logger' |
4 | 3 | ||
4 | import jsonld = require('jsonld') | ||
5 | |||
5 | const CACHE = { | 6 | const CACHE = { |
6 | 'https://w3id.org/security/v1': { | 7 | 'https://w3id.org/security/v1': { |
7 | '@context': { | 8 | '@context': { |