forked from kompetenzinventar/ki-frontend
provide config.js
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { createApp } from 'vue/dist/vue.esm-bundler';
|
||||
import { createApp } from 'vue/dist/vue.esm-bundler'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
|
||||
@ -12,10 +12,6 @@ const app = createApp(App)
|
||||
app.use(router)
|
||||
|
||||
app.config.globalProperties.axios=axios
|
||||
|
||||
app.config.globalProperties.apiUrl= (process.env.VUE_APP_API_URL ? process.env.VUE_APP_API_URL : '')
|
||||
app.config.globalProperties.apiUrl = window.ki.apiUrl
|
||||
|
||||
app.mount('#app')
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user