X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fdnt.ts;h=dd88005dd73a1abdf14844b24b07b1a1661a5617;hb=32985a0a779e0e2100a3990b1f1188645e58dfb1;hp=607def85552bb78d60ad5adde5c2f29a3136afda;hpb=5e755fff9d70a7fd3c4f85bb524f1b774dd85b25;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/dnt.ts b/server/middlewares/dnt.ts index 607def855..dd88005dd 100644 --- a/server/middlewares/dnt.ts +++ b/server/middlewares/dnt.ts @@ -1,6 +1,3 @@ -import * as ipaddr from 'ipaddr.js' -import { format } from 'util' - const advertiseDoNotTrack = (_, res, next) => { res.setHeader('Tk', 'N') return next()