This commit is contained in:
Cadence Fish
2020-01-15 03:38:33 +13:00
parent b5f163891c
commit 30b45c2573
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