updated config
This commit is contained in:
parent
72a1edeef9
commit
5553ccbfcb
2 changed files with 3 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
VITE_API_PUBLISH_URL=VITE_API_PUBLISH_URL
|
||||
VITE_API_URI_CONFIG=VITE_API_URI_CONFIG
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
import { ref } from 'vue'
|
||||
|
||||
const env = ref<string>(process.env.NODE_ENV || 'development')
|
||||
export const apiUrlConfig = import.meta.env.VITE_API_PUBLISH_URL
|
||||
export const apiUrlConfig = `${import.meta.env.VITE_API_URI_CONFIG}/api/v1`
|
||||
// if (process.env.VUE_APP_TEST) {
|
||||
// env = "test";
|
||||
// }
|
||||
|
|
@ -10,7 +10,7 @@ export const apiUrlConfig = import.meta.env.VITE_API_PUBLISH_URL
|
|||
const config = ref<any>({
|
||||
development: {
|
||||
// API_URI: "https://localhost:7260/api",
|
||||
API_URI: 'https://bma-ehr.frappet.synology.me/api/v1/evaluation',
|
||||
API_URI: 'https://bma-ehr.frappet.synology.me/api/v1',
|
||||
},
|
||||
test: {
|
||||
API_URI: 'http://localhost:5010/api/v1',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue