switch axios url
@@ -6,7 +6,7 @@ export default function ({ router, store }) {
Vue.prototype.$axios = axios;
axios.defaults.baseURL = process.env.NODE_ENV === "production"
- ? window._env_.PROD_URL || process.env.PROD_API
+ ? process.env.PROD_API || window._env_.PROD_URL
: process.env.DEV_API;
axios.interceptors.request.use(
