fix: Remove Frontend Timeout (#6033)

This commit is contained in:
Michael Genson
2025-08-25 12:28:43 -05:00
committed by GitHub
parent 347af7d417
commit 894162a669

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