mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-12 15:59:18 +00:00
@ -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()
|
||||
|
Reference in New Issue
Block a user