Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2023-11-02 10:20:57 +01:00
parent dfd8ee6ebf
commit c8cca74b84
1 changed files with 1 additions and 0 deletions

View File

@ -208,6 +208,7 @@ module.exports = (_ => {
url: ""
}, null);
}).then(r => {
if (!r) return;
response = r;
response.statusCode = response.status;
if (response.headers) response.headers["content-type"] = response.headers.get("content-type");