diff --git a/frontend/plugins/axios.ts b/frontend/plugins/axios.ts index 80befbb9c..cc232c833 100644 --- a/frontend/plugins/axios.ts +++ b/frontend/plugins/axios.ts @@ -4,8 +4,8 @@ import { alert } from "~/composables/use-toast"; export default defineNuxtPlugin(() => { const tokenName = useRuntimeConfig().public.AUTH_TOKEN; const axiosInstance = axios.create({ + // timeout removed to allow backend to handle timeouts baseURL: "/", // api calls already pass with /api - timeout: 10000, headers: { Authorization: "Bearer " + useCookie(tokenName).value, },