Skip to content

Commit 96b9892

Browse files
committed
feat(index.html): Use absolute image source relative to local instance
1 parent 146b67a commit 96b9892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ <h2>Username</h2>
229229
<div class="counter">
230230
<img
231231
id="example"
232-
src="https://mayu.due.moe/get/@demo"
232+
src="/get/@demo"
233233
alt="Example counter"
234234
class="example-image"
235235
/>
@@ -292,7 +292,7 @@ <h2>Username</h2>
292292
themeValue = themeSelect.value;
293293
}
294294

295-
image.src = `https://mayu.due.moe/get/@${inputValue}?theme=${themeValue}&padding=6`;
295+
image.src = `/get/@${inputValue}?theme=${themeValue}&padding=6`;
296296

297297
setCopyCodes();
298298
};

0 commit comments

Comments
 (0)