Skip to content

Commit c9e9cf5

Browse files
committed
Update api url
fix #6
1 parent d225efa commit c9e9cf5

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.env

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ node_modules
44

55

66
# local env files
7-
.env.local
8-
.env.*.local
7+
.env*
98

109
# Log files
1110
npm-debug.log*

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Vue.use(IconsPlugin)
1616
Vue.use(ModalPlugin)
1717

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

2121
new Vue({
2222
render: h => h(App),

0 commit comments

Comments
 (0)