mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-27 23:54:24 +02:00
🩹 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 = {
|
const requestConfig = {
|
||||||
method: req.method,
|
method: req.method,
|
||||||
url: targetURL,
|
url: targetURL,
|
||||||
json: req.body,
|
data: req.body,
|
||||||
headers,
|
headers,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user