Using relative paths (#90)

This commit is contained in:
Junity 2023-03-23 16:12:57 +08:00 committed by GitHub
parent 9040b69342
commit 8209ec4043
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -3,9 +3,9 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> <link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> <link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
<meta property="og:image" content="https://freechatgpt.chat/preview.jpg" /> <meta property="og:image" content="https://freechatgpt.chat/preview.jpg" />
<meta name="twitter:image" content="https://freechatgpt.chat/preview.jpg" /> <meta name="twitter:image" content="https://freechatgpt.chat/preview.jpg" />
<meta <meta

View file

@ -17,4 +17,5 @@ export default defineConfig({
'@src/': new URL('./src/', import.meta.url).pathname, '@src/': new URL('./src/', import.meta.url).pathname,
}, },
}, },
base: "./"
}); });