Rollback dispute code

This commit is contained in:
XiaoFans 2024-02-20 17:47:49 +08:00
parent 04875659ae
commit 43b9e151cd
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -21,4 +21,5 @@ tests/**/coverage/
*.ntvs*
*.njsproj
*.sln
tsconfig.tsbuildinfo
tsconfig.tsbuildinfo
.vscode/settings.json

View File

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