mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 23:44:15 +00:00
ts: lib/csp.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
7a6b2efaef
commit
8ea1eb2650
@ -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
|
Loading…
x
Reference in New Issue
Block a user