projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Search video channel handle/uri
[oweals/peertube.git]
/
server
/
middlewares
/
dnt.ts
1
import * as ipaddr from 'ipaddr.js'
2
import { format } from 'util'
3
4
const advertiseDoNotTrack = (_, res, next) => {
5
res.setHeader('Tk', 'N')
6
return next()
7
}
8
9
// ---------------------------------------------------------------------------
10
11
export {
12
advertiseDoNotTrack
13
}