we be renaming

This commit is contained in:
TDLaouer 2025-07-14 13:08:30 +02:00
parent 629f4e6898
commit d4f803e5a5
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
export const useApiBase = () => useRuntimeConfig().public.API_BASE;
export const useApiBase = () => useRuntimeConfig().public.apiBase;

View File

@ -17,8 +17,8 @@ export default defineNuxtConfig({
vite: { plugins: [tailwindcss()] },
runtimeConfig: {
public: {
API_BASE: "",
IS_UPLOAD_ACTIVE: "",
apiBase: "",
isUploadActive: "",
},
},
primevue: {

View File

@ -40,7 +40,7 @@ cardStore.fetchCollections();
const activeItem = ref();
const isUploadActive = computed(() =>
config.public.IS_UPLOAD_ACTIVE === "true" ? true : false,
config.public.isUploadActive === "true" ? true : false,
);
const play = (collection: string) => {