Change the API domain name

This commit is contained in:
Valentin Kaelin 2019-09-11 09:25:14 +02:00
parent 9cc044ec13
commit e36b7d2669

View file

@ -4,7 +4,7 @@ export const axios = axiosHttp
axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'
axios.defaults.headers.common['Content-Type'] = 'application/json'
axios.defaults.baseURL = process.env.NODE_ENV === 'development' ? 'http://localhost:5000/' : 'https://api.valentinkaelin.ch/'
axios.defaults.baseURL = process.env.NODE_ENV === 'development' ? 'http://localhost:5000/' : 'https://api.leaguestats.gg/'
export default {
install (Vue) {