aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/middlewares/dnt.ts
blob: cabad39c6cce5f2c696f0e80a882b93e085713ed (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13











                                                                              
import * as ipaddr from 'ipaddr.js'
import { format } from 'util'

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

// ---------------------------------------------------------------------------

export {
  advertiseDoNotTrack
 }