This commit is contained in:
Georges-Antoine Assi
2025-08-23 09:48:34 -04:00
parent 09a7110855
commit 08ae380087
2 changed files with 2 additions and 5 deletions

View File

@@ -23,16 +23,12 @@ import storeNavigation from "@/stores/navigation";
import storePlatforms from "@/stores/platforms";
import type { Events } from "@/types/emitter";
import type { Emitter } from "mitt";
import { inject, onBeforeMount, onMounted, ref } from "vue";
import { inject, onBeforeMount, ref } from "vue";
import { isNull } from "lodash";
import { useRoute } from "vue-router";
import { ROUTES } from "@/plugins/router";
const route = useRoute();
const navigationStore = storeNavigation();
const platformsStore = storePlatforms();
const collectionsStore = storeCollections();
const fetchedType = ref<string | null>(null);
const emitter = inject<Emitter<Events>>("emitter");
emitter?.on("refreshDrawer", async () => {

View File

@@ -15,6 +15,7 @@ export default defineConfig(({ mode }) => {
...loadEnv(mode, "../", envPrefixes),
...loadEnv(mode, "./", envPrefixes),
};
const backendPort = env.DEV_PORT ?? "5000";
const allowedHosts = env.VITE_ALLOWED_HOSTS == "true" ? true : false;