Fixes static assets

They should always be referenced from the root.
This commit is contained in:
2023-09-20 14:56:43 +02:00
parent 8fcd97e811
commit bcb854aad7

View File

@@ -9,10 +9,10 @@
}
</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.asmask != true}
<img src={brand.logo} alt="logo" />
<img src={'/' + brand.logo} alt="logo" />
{/if}
{:else if brand.icon}
<i class={brand.icon} />