diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2023-02-01 20:34:22 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2023-02-01 20:34:22 -0500 |
commit | 2026a8f4579b1db0f6e5e7b11ac33c13969adb6c (patch) | |
tree | daa13419b7227462775e325a4f5f60f2ed33c1da /public/js | |
parent | remove b64 imgs (diff) | |
download | xssbook-2026a8f4579b1db0f6e5e7b11ac33c13969adb6c.tar.gz xssbook-2026a8f4579b1db0f6e5e7b11ac33c13969adb6c.tar.bz2 xssbook-2026a8f4579b1db0f6e5e7b11ac33c13969adb6c.zip |
static serve refactor
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/main.js b/public/js/main.js index 5737173..ffbc1f3 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -33,11 +33,11 @@ function remove(id) { } function pfp(id) { - return `<img src="/cdn/avatar?user_id=${id}">` + return `<img src="/image/avatar?user_id=${id}">` } function banner(id) { - return `<img src="/cdn/banner?user_id=${id}" onerror="this.remove()" >` + return `<img src="/image/banner?user_id=${id}" onerror="this.remove()" >` } const months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', |