mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 08:07:30 +00:00
Fix some image proxy headers
This commit is contained in:
parent
176a8fe4d4
commit
ff75c39aa9
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user