diff --git a/composables/api.ts b/composables/api.ts index 31cbd81..5128897 100644 --- a/composables/api.ts +++ b/composables/api.ts @@ -4,8 +4,9 @@ export function useApiFetch() { const config = useRuntimeConfig() const apiBase = config.public.apiBase const prefix = config.public.apiPrefix - + const fetchData = (path: string, global = false) => { + console.log(`Fetching data for path: ${path}`); const headers = new Headers() headers.set('Referer', config.public.baseUrl) diff --git a/error.vue b/error.vue index 988d557..8b43908 100644 --- a/error.vue +++ b/error.vue @@ -1,40 +1,39 @@