PeerTube/server/middlewares/dnt.ts

11 lines
207 B
TypeScript

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