aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-28 01:22:46 -0700
committerGitHub <noreply@github.com>2025-10-28 01:22:46 -0700
commit2f277121587f944eb059012eb660765ef040097b (patch)
tree6bc2396ea8854ab675d5edb2c49be06f5b9a60ed
parent47193c34724e6b75d80bbe1ce9dc46e0344c7294 (diff)
Fix fetch URLs by removing leading slashes
-rw-r--r--index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.js b/index.js
index a54c8d0..6716003 100644
--- a/index.js
+++ b/index.js
@@ -308,9 +308,9 @@ async function save_tierlist_with_template(filename) {
try {
// Fetch resources
let [templateResponse, jsResponse, cssResponse] = await Promise.all([
- fetch('/tiers.html'),
- fetch('/tiers.js'),
- fetch('/tiers.css')
+ fetch('tiers.html'),
+ fetch('tiers.js'),
+ fetch('tiers.css')
]);
let [templateHTML, scriptContent, styleContent] = await Promise.all([
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage