Fix some image proxy headers

This commit is contained in:
Cadence Ember 2020-06-25 03:42:22 +12:00
parent 176a8fe4d4
commit ff75c39aa9
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412
1 changed files with 6 additions and 4 deletions

View File

@ -10,10 +10,12 @@ class NodeFetch {
}
response() {
return this.instance.then(res => ({
status: res.status,
headers: new Map(Object.entries(res.headers))
}))
return this.instance.then(res => {
return {
status: res.status,
headers: res.headers
}
})
}
json() {