base url moved
This commit is contained in:
parent
693adf7af2
commit
309a823ddd
2 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ import App from './App.vue'
|
||||||
import router from './router'
|
import router from './router'
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
export const BASE_URL = 'http://localhost:9090/api/v2'
|
||||||
|
|
||||||
app.use(createPinia())
|
app.use(createPinia())
|
||||||
app.use(router)
|
app.use(router)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { useAuthStore } from '@/stores/authStore.js'
|
import { useAuthStore } from '@/stores/authStore.js'
|
||||||
|
import { BASE_URL } from '@/main.js'
|
||||||
|
|
||||||
const BASE_URL = 'http://localhost:9000/api/v2'
|
|
||||||
|
|
||||||
let isRefreshing = false
|
let isRefreshing = false
|
||||||
let refreshPromise = null
|
let refreshPromise = null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue