chore: streamline the URL used for resources like favicon.png
This commit is contained in:
1 parent
0a3c448a52
commit
196af9eaf7
29 files changed
+66
-42
No files matched your search
@@ -5,6 +5,7 @@
|
||||
import emojiShortCodes from '$lib/emoji-shortcodes.json';
|
||||
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
||||
import VirtualList from '@sveltejs/svelte-virtual-list';
|
||||
import { WEBUI_BASE_URL } from '$lib/constants';
|
||||
|
||||
export let onClose = () => {};
|
||||
export let onSubmit = (name) => {};
|
||||
@@ -147,7 +148,7 @@
|
||||
on:click={() => selectEmoji(emojiItem)}
|
||||
>
|
||||
<img
|
||||
src="/assets/emojis/{emojiItem.name.toLowerCase()}.svg"
|
||||
src="{WEBUI_BASE_URL}/assets/emojis/{emojiItem.name.toLowerCase()}.svg"
|
||||
alt={emojiItem.name}
|
||||
class="size-5"
|
||||
loading="lazy"
|
||||
|
||||
Reference in new issue
Block a user