| | |
| | | axios.defaults.baseURL = 'http://localhost:9290/'; |
| | | } |
| | | else if (process.env.NODE_ENV == 'debug') { |
| | | // axios.defaults.baseURL = 'http://192.168.2.51:9290/'; |
| | | axios.defaults.baseURL = 'http://localhost:9290/'; |
| | | axios.defaults.baseURL = 'http://192.168.2.51:9290/'; |
| | | // axios.defaults.baseURL = 'http://localhost:9290/'; |
| | | } |
| | | |
| | | else if (process.env.NODE_ENV == 'production') { |
| | | // axios.defaults.baseURL = 'http://192.168.2.51:9290/'; |
| | | axios.defaults.baseURL = 'http://localhost:9290/'; |
| | | axios.defaults.baseURL = 'http://192.168.2.51:9290/'; |
| | | // axios.defaults.baseURL = 'http://localhost:9290/'; |
| | | } |
| | | if (!axios.defaults.baseURL.endsWith('/')) { |
| | | axios.defaults.baseURL+="/"; |