working on frontend

This commit is contained in:
voje 2019-04-23 22:44:23 +02:00
parent 2db0d63269
commit 49bb5a2c42
4 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,3 @@
{ {
"api_addr": "http://0.0.0.0:5004" "api_addr": "http://193.2.76.103:8084"
} }

View File

@ -1,3 +1,3 @@
{ {
"api_addr": "http://0.0.0.0:5004" "api_addr": "http://193.2.76.103:8084"
} }

View File

@ -1,3 +1,3 @@
{ {
"api_addr": "0.0.0.0:5004" "api_addr": "http://193.2.76.103"
} }

View File

@ -29,6 +29,7 @@ Vue.use(BootstrapVue)
// Vue.$http.headers.common['Access-Control-Allow-Origin'] = true // Vue.$http.headers.common['Access-Control-Allow-Origin'] = true
Vue.prototype.$http = axios Vue.prototype.$http = axios
Vue.prototype.$http.defaults.baseURL = config_data.api_addr
// hand-made global storage // hand-made global storage
const store = { const store = {