You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
main
${ noResults }
16 lines
316 B
TypeScript
16 lines
316 B
TypeScript
import * as express from 'express'
|
|||
|
|||
const advertiseDoNotTrack = (_, res: express.Response, next: express.NextFunction) => {
|
|||
if (!res.headersSent) {
|
|||
res.setHeader('Tk', 'N')
|
|||
}
|
|||
|
|||
return next()
|
|||
}
|
|||
|
|||
// ---------------------------------------------------------------------------
|
|||
|
|||
export {
|
|||
advertiseDoNotTrack
|
|||
}
|