1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-22 10:52:10 +00:00

fix: Build error

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

View File

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