Browse Source

去除configs.js过滤

develop
luobz 6 years ago
parent
commit
3a72cc5bc4
2 changed files with 21 additions and 1 deletions
  1. 1
      .gitignore
  2. 21
      src/configs.js

1
.gitignore

@ -35,5 +35,4 @@ out
node_modules/
dist
configs.js
package-lock.json

21
src/configs.js

@ -0,0 +1,21 @@
/**
* 设置api请求的baseURL
*/
let configs = {
// 请求协议
protocol : 'http',
// 请求域名
host: 'www.yihaojiazheng.cn',
// 基础路径
basePath: ''
}
export default {
baseURL: configs.protocol + '://' + configs.host + configs.basePath,
// baseURL: '',
isDev: false,
locationUrl: 'http://www.yihaojiazheng.cn'
}
Loading…
Cancel
Save