OOOKEEEEEEEEEE

This commit is contained in:
TDLaouer 2025-07-14 12:58:26 +02:00
parent e3d5115090
commit d9608c9690
4 changed files with 6 additions and 6 deletions

View File

@ -10,10 +10,10 @@ RUN corepack enable
WORKDIR /app
ARG NUXT_PUBLIC_API_BASE_URL
ARG NUXT_PUBLIC_API_URL
ARG NUXT_PUBLIC_IS_UPLOAD_ACTIVE
ENV NUXT_PUBLIC_API_BASE_URL=${NUXT_PUBLIC_API_BASE_URL}
ENV NUXT_PUBLIC_API_URL=${NUXT_PUBLIC_API_URL}
ENV NUXT_PUBLIC_IS_UPLOAD_ACTIVE=${NUXT_PUBLIC_IS_UPLOAD_ACTIVE}

View File

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

View File

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

View File

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