fix(core): Revert back to the extended query-parser on express 5 (#15016)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-04-30 12:51:58 +02:00
committed by GitHub
parent c0b54832b3
commit 9541b5bb07
2 changed files with 92 additions and 114 deletions

View File

@@ -66,7 +66,7 @@ export abstract class AbstractServer {
constructor() {
this.app = express();
this.app.disable('x-powered-by');
this.app.set('query parser', 'extended');
this.app.engine('handlebars', expressHandlebars({ defaultLayout: false }));
this.app.set('view engine', 'handlebars');
this.app.set('views', TEMPLATES_DIR);