Browse Source

cursed powered-by headers because i am a heathen

master
Lio 9 months ago
parent
commit
1ebe363828
No known key found for this signature in database GPG Key ID: 34A97AB2C8DCAE3A
2 changed files with 3470 additions and 1493 deletions
  1. +3464
    -1493
      package-lock.json
  2. +6
    -0
      server.js

+ 3464
- 1493
package-lock.json
File diff suppressed because it is too large
View File


+ 6
- 0
server.js View File

@@ -45,6 +45,12 @@ app.use(
})
);
app.use(helmet());
app.use((req, res, next) => {
const lol = ["cum", "horny cats", "smelly cats", "armpits", "jocks", "worn jocks", "musk"]
let poweredby = lol[~~(Math.random() * lol.length)]
res.setHeader('X-Powered-By', poweredby);
next();
});
app.use(compression());
app.use(cors());
// Logging


Loading…
Cancel
Save