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











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

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

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

export {
  advertiseDoNotTrack
}