diff --git a/webclient/app/components/AppSearchBar.vue b/webclient/app/components/AppSearchBar.vue index c1606f470..a930bc75f 100644 --- a/webclient/app/components/AppSearchBar.vue +++ b/webclient/app/components/AppSearchBar.vue @@ -119,8 +119,9 @@ const url = computed(() => { const { data, error } = await useFetch(url, { key: "search", dedupe: "cancel", + credentials: "omit", retry: 120, - retryDelay: 5000, + retryDelay: 1000, }); diff --git a/webclient/app/components/CalendarFull.vue b/webclient/app/components/CalendarFull.vue index fea7fef68..b891631e3 100644 --- a/webclient/app/components/CalendarFull.vue +++ b/webclient/app/components/CalendarFull.vue @@ -53,9 +53,9 @@ async function fetchEvents(arg: EventSourceFuncArg): Promise { const data = await $fetch(url, { method: "POST", body: body, - retry: 120, - retryDelay: 5000, credentials: "omit", + retry: 120, + retryDelay: 1000, headers: { "Content-Type": "application/json" }, }); extractInfos(data); diff --git a/webclient/app/pages/[view]/[id].vue b/webclient/app/pages/[view]/[id].vue index a702e35b2..2598fbaea 100644 --- a/webclient/app/pages/[view]/[id].vue +++ b/webclient/app/pages/[view]/[id].vue @@ -27,8 +27,9 @@ const url = computed(() => `${runtimeConfig.public.apiURL}/api/get/${route.param const { data, error } = useFetch(url, { key: "details", dedupe: "cancel", + credentials: "omit", retry: 120, - retryDelay: 5000, + retryDelay: 1000, }); const shownImage = ref(data.value?.imgs?.length ? data.value.imgs[0] : undefined); diff --git a/webclient/app/pages/search.vue b/webclient/app/pages/search.vue index 02d86acb0..2f778883a 100644 --- a/webclient/app/pages/search.vue +++ b/webclient/app/pages/search.vue @@ -34,8 +34,9 @@ const apiUrl = computed(() => { const { data } = useFetch(apiUrl, { key: "search", dedupe: "cancel", + credentials: "omit", retry: 120, - retryDelay: 5000, + retryDelay: 1000, }); const description = computed(() => { if (!data.value) return "";