ニジカ投稿局 https://tv.nizika.tv
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dnt.ts 316 B

123456789101112131415
  1. import * as express from 'express'
  2. const advertiseDoNotTrack = (_, res: express.Response, next: express.NextFunction) => {
  3. if (!res.headersSent) {
  4. res.setHeader('Tk', 'N')
  5. }
  6. return next()
  7. }
  8. // ---------------------------------------------------------------------------
  9. export {
  10. advertiseDoNotTrack
  11. }