1
0
Fork 0
peertube/server/middlewares/dnt.ts
2020-02-03 08:31:02 +01:00

10 lines
207 B
TypeScript

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