diff --git a/.env.production b/.env.production index 949006b..81f06d2 100644 --- a/.env.production +++ b/.env.production @@ -38,4 +38,4 @@ VITE_APP_WEBSOCKET = false # sse 开关 VITE_APP_SSE = true -VITE_BASE_API = "http://47.104.215.165:8080" +VITE_BASE_API = "http://47.104.215.165:8089" diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index d979925..2ca3adf 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -5,10 +5,6 @@ "ComputedRef": true, "DirectiveBinding": true, "EffectScope": true, - "ElLoading": true, - "ElMessage": true, - "ElMessageBox": true, - "ElNotification": true, "ExtractDefaultPropTypes": true, "ExtractPropTypes": true, "ExtractPublicPropTypes": true, diff --git a/vite.config.ts b/vite.config.ts index a20b70f..8dea01f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,7 +25,7 @@ export default defineConfig(({ mode, command }) => { proxy: { [env.VITE_APP_BASE_API]: { // target: 'http://47.104.208.94:8089', - target: 'http://47.104.215.165:8080', + target: 'http://47.104.215.165:8089', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')