diff --git a/src/frontend_vue/config/config.json b/src/frontend_vue/config/config.json index a304ca1..9f2635c 100644 --- a/src/frontend_vue/config/config.json +++ b/src/frontend_vue/config/config.json @@ -1,3 +1,3 @@ { - "api_addr": "http://0.0.0.0:5004" + "api_addr": "http://193.2.76.103:8084" } diff --git a/src/frontend_vue/config/config_dev.json b/src/frontend_vue/config/config_dev.json index a304ca1..9f2635c 100644 --- a/src/frontend_vue/config/config_dev.json +++ b/src/frontend_vue/config/config_dev.json @@ -1,3 +1,3 @@ { - "api_addr": "http://0.0.0.0:5004" + "api_addr": "http://193.2.76.103:8084" } diff --git a/src/frontend_vue/config/config_prod.json b/src/frontend_vue/config/config_prod.json index c1a1b65..0fe1d35 100644 --- a/src/frontend_vue/config/config_prod.json +++ b/src/frontend_vue/config/config_prod.json @@ -1,3 +1,3 @@ { - "api_addr": "0.0.0.0:5004" + "api_addr": "http://193.2.76.103" } diff --git a/src/frontend_vue/src/main.js b/src/frontend_vue/src/main.js index fa4bfa8..92c9a7c 100644 --- a/src/frontend_vue/src/main.js +++ b/src/frontend_vue/src/main.js @@ -29,6 +29,7 @@ Vue.use(BootstrapVue) // Vue.$http.headers.common['Access-Control-Allow-Origin'] = true Vue.prototype.$http = axios +Vue.prototype.$http.defaults.baseURL = config_data.api_addr // hand-made global storage const store = {