mirror of https://github.com/Lissy93/dashy.git
🩹 Send request body as data instead of json
This commit is contained in:
parent
bfcccd0139
commit
78ea929c93
|
@ -33,7 +33,7 @@ module.exports = (req, res) => {
|
|||
const requestConfig = {
|
||||
method: req.method,
|
||||
url: targetURL,
|
||||
json: req.body,
|
||||
data: req.body,
|
||||
headers,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue