mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-07 05:01:36 +00:00
RSS
This commit is contained in:
parent
b5f163891c
commit
30b45c2573
17 changed files with 157 additions and 26 deletions
7
src/lib/utils/proxyurl.js
Normal file
7
src/lib/utils/proxyurl.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function proxyImage(url) {
|
||||
const params = new URLSearchParams()
|
||||
params.set("url", url)
|
||||
return "/imageproxy?"+params.toString()
|
||||
}
|
||||
|
||||
module.exports.proxyImage = proxyImage
|
||||
Loading…
Add table
Add a link
Reference in a new issue