-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* perf: 接口配置硬编码调整到环境变量 * perf: 接口配置硬编码调整到环境变量
- Loading branch information
1 parent
715e882
commit 78eed60
Showing
9 changed files
with
25 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# 打包路径 根据项目不同按需配置 | ||
VITE_BASE_URL = / | ||
VITE_IS_REQUEST_PROXY = true | ||
VITE_API_URL = https://service-bv448zsw-1257786608.gz.apigw.tencentcs.com | ||
VITE_API_URL_PREFIX = /api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# 打包路径 | ||
VITE_BASE_URL = / | ||
VITE_IS_REQUEST_PROXY = true | ||
VITE_API_URL = https://service-exndqyuk-1257786608.gz.apigw.tencentcs.com | ||
VITE_API_URL_PREFIX = /api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# 打包路径 根据项目不同按需配置 | ||
VITE_BASE_URL = https://static.tdesign.tencent.com/starter/vue-next/ | ||
VITE_IS_REQUEST_PROXY = true | ||
VITE_API_URL = https://service-bv448zsw-1257786608.gz.apigw.tencentcs.com | ||
VITE_API_URL_PREFIX = /api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# 打包路径 根据项目不同按需配置 | ||
VITE_BASE_URL = / | ||
VITE_IS_REQUEST_PROXY = true | ||
VITE_API_URL = https://service-exndqyuk-1257786608.gz.apigw.tencentcs.com | ||
VITE_API_URL_PREFIX = /api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,5 @@ yarn-error.log | |
yarn.lock | ||
package-lock.json | ||
pnpm-lock.yaml | ||
.env.local | ||
.env.*.local |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface ImportMetaEnv { | ||
readonly VITE_IS_REQUEST_PROXY: string; | ||
readonly VITE_API_URL: string; | ||
readonly VITE_API_URL_PREFIX: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters