mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-25 14:09:03 -04:00
[pl] jebać narodowców
This commit is contained in:
parent
40f365ce19
commit
de59527b28
@ -13,7 +13,14 @@ global.config = loadSuml('config');
|
|||||||
const app = express()
|
const app = express()
|
||||||
app.enable('trust proxy')
|
app.enable('trust proxy')
|
||||||
|
|
||||||
app.use(express.json());
|
app.use(express.json({
|
||||||
|
verify: (req, res, buf) => {
|
||||||
|
if (buf.includes(Buffer.from('narodowcy.net', 'utf-8'))) {
|
||||||
|
req.socket.end();
|
||||||
|
throw 'fuck off';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}));
|
||||||
app.use(express.urlencoded({ extended: true }));
|
app.use(express.urlencoded({ extended: true }));
|
||||||
app.use(cookieParser());
|
app.use(cookieParser());
|
||||||
app.use(session({
|
app.use(session({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user