1 Star 0 Fork 162

DaveMa / Snowy-Mobile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
env.js 616 Bytes
一键复制 编辑 原始数据 按行查看 历史
每天一点 提交于 2023-07-09 22:09 . 【优化】代码优化
const defaultEnvKey = 'local'
const defaultAllEnv = {
local: {
name: "本地环境",
baseUrl: "http://192.168.0.100:82",
// 后端配置文件的 snowy.config.common.front-url,相当于前端地址(开源版本非必要)
tenantDomain: "http://localhost:81",
},
pro: {
name: "生产环境",
baseUrl: "https://snowyapi.xiaonuo.vip",
// 后端配置文件的 snowy.config.common.front-url,相当于前端地址(开源版本非必要)
tenantDomain: "https://snowy.xiaonuo.vip",
},
}
// 应用全局配置
export default {
DEFAULT_ENV_KEY: defaultEnvKey,
DEFAULT_ALL_ENV: defaultAllEnv
}
1
https://gitee.com/DaveMa/snowy-mobile.git
git@gitee.com:DaveMa/snowy-mobile.git
DaveMa
snowy-mobile
Snowy-Mobile
master

搜索帮助