2022-07-18 08:41:47 -05:00
|
|
|
import * as express from 'express'
|
|
|
|
|
|
|
|
const advertiseDoNotTrack = (_, res: express.Response, next: express.NextFunction) => {
|
|
|
|
if (!res.headersSent) {
|
|
|
|
res.setHeader('Tk', 'N')
|
|
|
|
}
|
|
|
|
|
2018-08-02 19:02:01 -05:00
|
|
|
return next()
|
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
export {
|
|
|
|
advertiseDoNotTrack
|
2018-12-13 02:49:45 -06:00
|
|
|
}
|