summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-02-01 20:34:22 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-02-01 20:34:22 -0500
commit2026a8f4579b1db0f6e5e7b11ac33c13969adb6c (patch)
treedaa13419b7227462775e325a4f5f60f2ed33c1da /public
parentremove b64 imgs (diff)
downloadxssbook-2026a8f4579b1db0f6e5e7b11ac33c13969adb6c.tar.gz
xssbook-2026a8f4579b1db0f6e5e7b11ac33c13969adb6c.tar.bz2
xssbook-2026a8f4579b1db0f6e5e7b11ac33c13969adb6c.zip
static serve refactor
Diffstat (limited to 'public')
-rw-r--r--public/css/home.css2
-rw-r--r--public/js/main.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/public/css/home.css b/public/css/home.css
index 60dc3a5..f467aba 100644
--- a/public/css/home.css
+++ b/public/css/home.css
@@ -80,7 +80,7 @@ body {
}
.icons {
- background-image: url('/images/icons.png');
+ background-image: url('/image/icons.png');
display: inline-block;
width: 18px;
height: 18px;
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',