summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-01-31 22:57:39 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-01-31 22:57:39 -0500
commit028026bfdc274afb675479ec82e125b161b9513b (patch)
tree8920ddd4eaf464562a84c43718f1813e2ccdcfa4 /public/js
parentgitignore (diff)
downloadxssbook-028026bfdc274afb675479ec82e125b161b9513b.tar.gz
xssbook-028026bfdc274afb675479ec82e125b161b9513b.tar.bz2
xssbook-028026bfdc274afb675479ec82e125b161b9513b.zip
remove b64 imgs
Diffstat (limited to '')
-rw-r--r--public/js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/main.js b/public/js/main.js
index ffbc1f3..5737173 100644
--- a/public/js/main.js
+++ b/public/js/main.js
@@ -33,11 +33,11 @@ function remove(id) {
}
function pfp(id) {
- return `<img src="/image/avatar?user_id=${id}">`
+ return `<img src="/cdn/avatar?user_id=${id}">`
}
function banner(id) {
- return `<img src="/image/banner?user_id=${id}" onerror="this.remove()" >`
+ return `<img src="/cdn/banner?user_id=${id}" onerror="this.remove()" >`
}
const months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',