增加配置文件,修改request请求

This commit is contained in:
zk
2023-12-04 13:22:58 +08:00
parent fc4153534c
commit 59a8f83a91
5 changed files with 61 additions and 37 deletions
+7
View File
@@ -0,0 +1,7 @@
export function getAppEnvConfig() {
const ENV = import.meta.env;
const { VITE_GLOB_API_URL } = ENV;
return {
VITE_GLOB_API_URL,
};
}