fix: Remove Frontend Timeout (#6033)

This commit is contained in:
Michael Genson 2025-08-25 12:28:43 -05:00 committed by GitHub
commit 894162a669
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
},