mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
cleanup
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user