Add SERVER_URL constant based on environment
This commit is contained in:
1 parent
5755f3a699
commit
2ccd656386
3 files changed
+6
-3
No files matched your search
@@ -2,4 +2,6 @@ import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
import './index.css'
|
||||
|
||||
export const SERVER_URL = process.env.NODE_ENV === 'production' ? '.' : 'http://localhost:8080'
|
||||
|
||||
createApp(App).mount('#app')
|
||||
Reference in new issue
Block a user