Fixes static assets
They should always be referenced from the root.
This commit is contained in:
@@ -9,10 +9,10 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div style="--mask: url({brand.logo || ''}); --mask-color: {color}" class:masked={masked()}>
|
<div style="--mask: url(/{brand.logo || ''}); --mask-color: {color}" class:masked={masked()}>
|
||||||
{#if brand.logo}
|
{#if brand.logo}
|
||||||
{#if brand.asmask != true}
|
{#if brand.asmask != true}
|
||||||
<img src={brand.logo} alt="logo" />
|
<img src={'/' + brand.logo} alt="logo" />
|
||||||
{/if}
|
{/if}
|
||||||
{:else if brand.icon}
|
{:else if brand.icon}
|
||||||
<i class={brand.icon} />
|
<i class={brand.icon} />
|
||||||
|
|||||||
Reference in New Issue
Block a user