Skip to content

Commit 894162a

Browse files
fix: Remove Frontend Timeout (#6033)
1 parent 347af7d commit 894162a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/plugins/axios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { alert } from "~/composables/use-toast";
44
export default defineNuxtPlugin(() => {
55
const tokenName = useRuntimeConfig().public.AUTH_TOKEN;
66
const axiosInstance = axios.create({
7+
// timeout removed to allow backend to handle timeouts
78
baseURL: "/", // api calls already pass with /api
8-
timeout: 10000,
99
headers: {
1010
Authorization: "Bearer " + useCookie(tokenName).value,
1111
},

0 commit comments

Comments
 (0)