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:
parent
4b340733d7
commit
a2db003735
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user