we be renaming
This commit is contained in:
parent
629f4e6898
commit
d4f803e5a5
@ -1 +1 @@
|
||||
export const useApiBase = () => useRuntimeConfig().public.API_BASE;
|
||||
export const useApiBase = () => useRuntimeConfig().public.apiBase;
|
||||
|
||||
@ -17,8 +17,8 @@ export default defineNuxtConfig({
|
||||
vite: { plugins: [tailwindcss()] },
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
API_BASE: "",
|
||||
IS_UPLOAD_ACTIVE: "",
|
||||
apiBase: "",
|
||||
isUploadActive: "",
|
||||
},
|
||||
},
|
||||
primevue: {
|
||||
|
||||
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user