|
12345678910111213141516171819202122 |
- /**
- * env文件里配置自定义运行菜单每一个js代表一个域名
- */
- const obj = process.env.ENV_PATH == undefined ? require('../env/dev.js') : require(process.env.ENV_PATH)
- const base = obj.baseUrl
- // http.js使用
- const baseUrl = `${base}/autoSR/api`;
- // config 使用
- const host = `${base}/autoSR/api`;
- const hosts = `${base}/`;
- const hostAdmin = `${base}/admin`;
-
- const iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式
-
- export {
- baseUrl,
- host,
- hosts,
- iMServiceHost,
- base,
- hostAdmin
- }
|