1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-07-09 19:49:19 +00:00

fix: Build error

Signed-off-by: Avior <github@avior.me>
This commit is contained in:
2023-01-11 21:27:20 +01:00
parent 4b340733d7
commit a2db003735

View File

@ -42,7 +42,7 @@ server
// }) // })
// Midleware that handle url transformation // Midleware that handle url transformation
.use((req, res, next) => { .use((req, _, next) => {
// this is ugly BUT it fix the problem with + not becoming spaces // this is ugly BUT it fix the problem with + not becoming spaces
req.url = req.url.replace(/\+/g, ' ') req.url = req.url.replace(/\+/g, ' ')
next() next()