RSS
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user