Commit be2b43ef by 陈羽

update: 回退api.js

parent f5d6cc6d
...@@ -21,7 +21,9 @@ import { Message } from 'element-ui'; ...@@ -21,7 +21,9 @@ import { Message } from 'element-ui';
// } // }
Vue.axios.defaults.timeout = 500000; Vue.axios.defaults.timeout = 500000;
let local = window.location.origin; // let local = window.location.origin;
// eslint-disable-next-line
let local = process.env.NODE_ENV == 'development' ? 'https://www.gicdev.com/' : '';
/* if (local.indexOf('localhost') != -1) { /* if (local.indexOf('localhost') != -1) {
local = 'https://www.gicdev.com'; local = 'https://www.gicdev.com';
} */ } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment