mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
parent
a903647eb1
commit
49ad9ee434
6 changed files with 32 additions and 25 deletions
|
|
@ -29,7 +29,8 @@ function request(url, options = {}, settings = {}) {
|
|||
headers: {
|
||||
"User-Agent": userAgent
|
||||
},
|
||||
followRedirect: false
|
||||
followRedirect: false,
|
||||
throwHttpErrors: false
|
||||
}, options))
|
||||
} else {
|
||||
throw new Error("Invalid value for setting `request_backend`.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue