aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-03-17 04:18:21 +0000
committerFuwn <[email protected]>2025-03-17 04:18:21 +0000
commit43c98b12c31ba43fe88476c4a0e782cb360bdd5c (patch)
treef242a5083196af738e7773ffdfda6f07302aa27a
parentchore(flake): Add missing escript dependency (diff)
downloadmayu-43c98b12c31ba43fe88476c4a0e782cb360bdd5c.tar.xz
mayu-43c98b12c31ba43fe88476c4a0e782cb360bdd5c.zip
feat(index.html): Use absolute image source relative to local instance
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index 51b7935..dcb1b25 100644
--- a/index.html
+++ b/index.html
@@ -229,7 +229,7 @@
<div class="counter">
<img
id="example"
- src="https://mayu.due.moe/get/@demo"
+ src="/get/@demo"
alt="Example counter"
class="example-image"
/>
@@ -292,7 +292,7 @@
themeValue = themeSelect.value;
}
- image.src = `https://mayu.due.moe/get/@${inputValue}?theme=${themeValue}&padding=6`;
+ image.src = `/get/@${inputValue}?theme=${themeValue}&padding=6`;
setCopyCodes();
};