This commit is contained in:
2024-05-24 17:31:20 +08:00
parent 66982f3a7b
commit 5dc64da214
3 changed files with 9 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ export const getPlatformConfig = async (app: App): Promise<undefined> => {
app.config.globalProperties.$config = getConfig();
return axios({
method: "get",
url: `${VITE_PUBLIC_PATH}platform-config.json`
url: `${VITE_PUBLIC_PATH}/platform-config.json`
})
.then(({ data: config }) => {
let $config = app.config.globalProperties.$config;