5e755fff9d
* add Content Security Policy * remove reflect-metadata on production builds to get rid of unsafe-eval * fix baseCSP usage * add SRI to CSP * add blob: to media-src * remove SRI * CSP set to reportOnly * adding data: to connect-src CSP * remove block-all-mixed-content * add report-uri support
13 lines
274 B
TypeScript
13 lines
274 B
TypeScript
import * as ipaddr from 'ipaddr.js'
|
|
import { format } from 'util'
|
|
|
|
const advertiseDoNotTrack = (_, res, next) => {
|
|
res.setHeader('Tk', 'N')
|
|
return next()
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
export {
|
|
advertiseDoNotTrack
|
|
}
|