feat(http): baseUrl 对接 VITE_SERVER_BASEURL

This commit is contained in:
Burt
2023-12-23 12:10:45 +08:00
parent 16fcb3f4eb
commit 6abe1fff9e
6 changed files with 7 additions and 4 deletions

2
src/env.d.ts vendored
View File

@@ -11,6 +11,8 @@ declare module '*.vue' {
interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
readonly VITE_SERVER_PORT: string
readonly VITE_SERVER_BASEURL: string
readonly VITE_DELETE_CONSOLE: string
// 更多环境变量...
}