refactor: update HTML structure and improve deployment instructions

- Cleaned up the HTML structure in `index.html` for better readability.
- Updated `README.md` to clarify deployment instructions for subdirectory setups.
- Removed unused `BASE_URL` declaration from `vite-env.d.ts` and adjusted `AppRoot` to use `import.meta.env.BASE_URL` for improved environment variable handling.
This commit is contained in:
鲁树人 committed 2026-11-05 20:47:16 +09:00
1 parent ef4cd9c21e
commit 79e5b45e6b
4 files changed
+15 -10

No files matched your search

-4
View File
@@ -9,10 +9,6 @@
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/pwa-512x512.png" sizes="512x512" />
<meta name="theme-color" content="#4DBA87" />
<script>
// 设置基础路径,如果希望部署在/music-unlock/,则改为 '/music-unlock/',默认部署在根路径
window.BASE_URL = '/';
</script>
</head>
<body>