mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-04-25 07:57:18 +08:00
Rollback dispute code
This commit is contained in:
parent
04875659ae
commit
43b9e151cd
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,3 +22,4 @@ tests/**/coverage/
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
tsconfig.tsbuildinfo
|
tsconfig.tsbuildinfo
|
||||||
|
.vscode/settings.json
|
||||||
|
@ -31,7 +31,7 @@ export const getServerConfig = async (app: App): Promise<undefined> => {
|
|||||||
app.config.globalProperties.$config = getConfig();
|
app.config.globalProperties.$config = getConfig();
|
||||||
return axios({
|
return axios({
|
||||||
method: "get",
|
method: "get",
|
||||||
url: `${window.location.origin}/serverConfig.json`
|
url: `${VITE_PUBLIC_PATH}serverConfig.json`
|
||||||
})
|
})
|
||||||
.then(({ data: config }) => {
|
.then(({ data: config }) => {
|
||||||
let $config = app.config.globalProperties.$config;
|
let $config = app.config.globalProperties.$config;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user