Disable qs library

Being able to pass JSON objects in a query string is unneeded and
possibly insecure, thus should be avoided if possible.
This commit is contained in:
Wolvan 2022-01-01 13:13:38 +01:00
parent 9fa3eabad1
commit 3287260962

View file

@ -19,7 +19,7 @@ async function main(): Promise<void> {
const app = express(); const app = express();
app.use(express.json()); app.use(express.json());
app.use(express.urlencoded({ extended: true })); app.use(express.urlencoded({ extended: false }));
app.use(compression()); app.use(compression());
app.use(cookiepaser()); app.use(cookiepaser());