From e8a641f3a38793997228f20f4684594b794506ab Mon Sep 17 00:00:00 2001 From: LiYaoheng Date: Thu, 6 Jun 2024 14:19:55 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E5=8D=95=E8=AF=8D?= =?UTF-8?q?=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- src/types/env.d.ts | 5 ++--- src/views/monitor/admin/index.vue | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index e1f7af6..52553ff 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,7 @@ VITE_APP_BASE_API = '/dev-api' VITE_APP_CONTEXT_PATH = '/' # 监控地址 -VITE_APP_MONITRO_ADMIN = 'http://localhost:9090/admin/applications' +VITE_APP_MONITOR_ADMIN = 'http://localhost:9090/admin/applications' # SnailJob 控制台地址 VITE_APP_SNAILJOB_ADMIN = 'http://localhost:8800/snail-job' diff --git a/.env.production b/.env.production index 9188c63..bf9e644 100644 --- a/.env.production +++ b/.env.production @@ -8,7 +8,7 @@ VITE_APP_ENV = 'production' VITE_APP_CONTEXT_PATH = '/' # 监控地址 -VITE_APP_MONITRO_ADMIN = '/admin/applications' +VITE_APP_MONITOR_ADMIN = '/admin/applications' # SnailJob 控制台地址 VITE_APP_SNAILJOB_ADMIN = '/snail-job' diff --git a/src/types/env.d.ts b/src/types/env.d.ts index bfc37cc..777c858 100644 --- a/src/types/env.d.ts +++ b/src/types/env.d.ts @@ -11,9 +11,8 @@ interface ImportMetaEnv { VITE_APP_BASE_API: string; VITE_APP_BASE_URL: string; VITE_APP_CONTEXT_PATH: string; - VITE_APP_MONITRO_ADMIN: string; - VITE_APP_POWERJOB_ADMIN: string; - VITE_APP_EASYRETRY_ADMIN: string; + VITE_APP_MONITOR_ADMIN: string; + VITE_APP_SNAILJOB_ADMIN: string; VITE_APP_ENV: string; VITE_APP_ENCRYPT: string; VITE_APP_RSA_PUBLIC_KEY: string; diff --git a/src/views/monitor/admin/index.vue b/src/views/monitor/admin/index.vue index 04c63b5..b71a5cc 100644 --- a/src/views/monitor/admin/index.vue +++ b/src/views/monitor/admin/index.vue @@ -5,5 +5,5 @@