แก้ env

This commit is contained in:
Kittapath 2023-12-24 02:02:17 +07:00
parent 6eed463eb5
commit b3e0db3da9
4 changed files with 10 additions and 6 deletions

View file

@ -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";
// }