Skip to content

Commit

Permalink
Update api url
Browse files Browse the repository at this point in the history
fix #6
  • Loading branch information
Suput committed Feb 13, 2022
1 parent d225efa commit c9e9cf5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .env

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ node_modules


# local env files
.env.local
.env.*.local
.env*

# Log files
npm-debug.log*
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Vue.use(IconsPlugin)
Vue.use(ModalPlugin)

Vue.use(VueRouter)
axios.defaults.baseURL = process.env.VUE_APP_SERVER_URL || window.location.origin
axios.defaults.baseURL = process.env.VUE_APP_SERVER_URL || window.location.origin + "/api/magic-circle/"

new Vue({
render: h => h(App),
Expand Down

0 comments on commit c9e9cf5

Please sign in to comment.