fix: update HTML structure and paths for favicon and assets

This commit is contained in:
snusxd
2026-04-13 14:11:05 +03:00
parent ef6229fcd1
commit 621dde2426
5 changed files with 7 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ const lastfmusername = 'snsxd'
const header = ref('silence...')
const artist = ref('artist')
const track = ref('track')
const labelurl = ref('public/default-cover.png')
const labelurl = ref('/public/default-cover.png')
// colors
const border_color = ref('#656565')

View File

@@ -5,7 +5,7 @@ body {
@font-face {
font-family: 'Iosevka';
src: url('public/fonts/sgr_iosevka_regular.woff2') format('woff2');
src: url('/public/fonts/sgr_iosevka_regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}

View File

@@ -15,5 +15,4 @@ export async function ChangeTitle(refvar: Ref, old_string: string, new_string: s
refvar.value = new_array.slice(0, i + 1).join(' ')
await sleep(100)
}
// refvar.value = new_string
}