PeerTube/server/middlewares/dnt.ts
2020-02-03 08:31:02 +01:00

11 lines
207 B
TypeScript

const advertiseDoNotTrack = (_, res, next) => {
res.setHeader('Tk', 'N')
return next()
}
// ---------------------------------------------------------------------------
export {
advertiseDoNotTrack
}