PR-589725: fixing express 5 wildcard migration.

This commit is contained in:
Alejandro Lembke Barrientos 2025-04-11 06:25:53 +00:00
parent be0bb6238f
commit bf1a6a2996
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD

View File

@ -129,7 +129,7 @@ const renderApp = (req, res, next) => {
};
app
.get(/\*/, renderApp);
.get('/{*splat}', renderApp);
app.listen(PORT, () => {
console.log(`Server running on port ${PORT}`);