note
All checks were successful
Build / build (pull_request) Successful in 1m41s
Build / build (push) Successful in 1m3s

This commit is contained in:
Sainan 2025-05-05 13:56:53 +02:00
parent f041c5161b
commit b300efeb96

View File

@ -22,7 +22,7 @@ app.use((req, _res, next) => {
req.headers["content-encoding"] = undefined; req.headers["content-encoding"] = undefined;
} }
// U18 and below use application/x-www-form-urlencoded even tho the data is JSON which Express doesn't like. // U18 uses application/x-www-form-urlencoded even tho the data is JSON which Express doesn't like.
if (req.headers["content-type"] == "application/x-www-form-urlencoded") { if (req.headers["content-type"] == "application/x-www-form-urlencoded") {
req.headers["content-type"] = "application/octet-stream"; req.headers["content-type"] = "application/octet-stream";
} }