mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-28 08:06:59 +00:00
feat: allow deployment on subpaths
This commit is contained in:
1 parent
a11caaae92
commit
024847a45a
4 files changed
+10
-1
No files matched your search
@@ -9,6 +9,10 @@
|
||||
<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>
|
||||
|
||||
Reference in new issue
Block a user