mirror of https://github.com/Lissy93/dashy.git
🔥 Removes appended slash from URL
This commit is contained in:
parent
eb4e45dfb5
commit
661b1aab07
|
@ -32,7 +32,7 @@ module.exports = (req, res) => {
|
|||
// Prepare the request
|
||||
const requestConfig = {
|
||||
method: req.method,
|
||||
url: targetURL + req.url,
|
||||
url: targetURL,
|
||||
json: req.body,
|
||||
headers,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue