diff --git a/.gitignore b/.gitignore index 8f1b30e..466600d 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,6 @@ out #node.js node_modules/ -dist \ No newline at end of file +dist + +configs.js \ No newline at end of file diff --git a/src/configs.js b/src/configs.js deleted file mode 100644 index e0d0b45..0000000 --- a/src/configs.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * 设置api请求的baseURL - */ - -let configs = { - // 请求协议 - protocol : 'http', - // 请求域名 - host: 'api.1hjz.3ncto.com.cn', - // 基础路径 - basePath: '' -} - -export default { - baseURL: configs.protocol + '://' + configs.host + configs.basePath, - // baseURL: '', - isDev: false -}