แก้ env
This commit is contained in:
parent
6eed463eb5
commit
b3e0db3da9
4 changed files with 10 additions and 6 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import { ref } from "vue";
|
||||
|
||||
const env = ref<string>(process.env.NODE_ENV || "development");
|
||||
export const apiUrlConfigPublish = import.meta.env.VITE_API_PUBLISH_URL;
|
||||
// if (process.env.VUE_APP_TEST) {
|
||||
// env = "test";
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue