mirror of https://github.com/Chocobozzz/PeerTube
14 lines
275 B
TypeScript
14 lines
275 B
TypeScript
|
import * as ipaddr from 'ipaddr.js'
|
||
|
import { format } from 'util'
|
||
|
|
||
|
const advertiseDoNotTrack = (_, res, next) => {
|
||
|
res.setHeader('Tk', 'N')
|
||
|
return next()
|
||
|
}
|
||
|
|
||
|
// ---------------------------------------------------------------------------
|
||
|
|
||
|
export {
|
||
|
advertiseDoNotTrack
|
||
|
}
|