working on frontend
This commit is contained in:
		
							parent
							
								
									2db0d63269
								
							
						
					
					
						commit
						49bb5a2c42
					
				| @ -1,3 +1,3 @@ | |||||||
| { | { | ||||||
|     "api_addr": "http://0.0.0.0:5004" |     "api_addr": "http://193.2.76.103:8084" | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,3 +1,3 @@ | |||||||
| { | { | ||||||
|     "api_addr": "http://0.0.0.0:5004" |     "api_addr": "http://193.2.76.103:8084" | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,3 +1,3 @@ | |||||||
| { | { | ||||||
|     "api_addr": "0.0.0.0:5004" |     "api_addr": "http://193.2.76.103" | ||||||
| } | } | ||||||
|  | |||||||
| @ -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 = { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user