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
|
// Prepare the request
|
||||||
const requestConfig = {
|
const requestConfig = {
|
||||||
method: req.method,
|
method: req.method,
|
||||||
url: targetURL + req.url,
|
url: targetURL,
|
||||||
json: req.body,
|
json: req.body,
|
||||||
headers,
|
headers,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue