1
0
Fork 0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-03-07 05:01:36 +00:00
This commit is contained in:
Cadence Fish 2020-01-15 03:38:33 +13:00
parent b5f163891c
commit 30b45c2573
No known key found for this signature in database
GPG key ID: 81015DF9AA8607E1
17 changed files with 157 additions and 26 deletions

View file

@ -0,0 +1,7 @@
function proxyImage(url) {
const params = new URLSearchParams()
params.set("url", url)
return "/imageproxy?"+params.toString()
}
module.exports.proxyImage = proxyImage