set file deploy

This commit is contained in:
Kittapath 2023-08-17 06:19:49 +07:00
parent 5640c9bd68
commit 4be268d562
6 changed files with 156 additions and 1 deletions

View file

@ -2,6 +2,7 @@
import { ref } from "vue"
const env = ref<string>(process.env.NODE_ENV || "development")
export const apiUrlConfig = import.meta.env.VITE_API_URI_CONFIG
// if (process.env.VUE_APP_TEST) {
// env = "test";
// }
@ -17,7 +18,7 @@ const config = ref<any>({
MEET_URI: "meet.frappet.com",
},
production: {
API_URI: `${window.location.protocol}//${window.location.host}/api/v1`,
API_URI: apiUrlConfig,
API_URI_ORG_TREE: "https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/tree_20230707_115124.json",
MEET_URI: "meet.frappet.com",
},