ts: lib/csp.js

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-12 07:01:37 +08:00
parent 7a6b2efaef
commit 8ea1eb2650
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38

View File

@ -1,5 +1,5 @@
var config = require('./config')
var uuid = require('uuid')
import * as config from "./config";
import * as uuid from "uuid";
var CspStrategy = {}
@ -102,4 +102,4 @@ CspStrategy.addNonceToLocals = function (req, res, next) {
next()
}
module.exports = CspStrategy
export = CspStrategy