1
0
Fork 0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-03-01 18:31:35 +00:00

404 page allows you to visit that user

Closes #43
This commit is contained in:
Cadence Ember 2020-03-22 17:10:50 +13:00
parent a903647eb1
commit 49ad9ee434
No known key found for this signature in database
GPG key ID: 81015DF9AA8607E1
6 changed files with 32 additions and 25 deletions

View file

@ -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`.")