fix: update HTML structure and paths for favicon and assets
This commit is contained in:
10
index.html
10
index.html
@@ -1,10 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Vite App</title>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/public/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>snusxd :D</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -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')
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user