We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347af7d commit 894162aCopy full SHA for 894162a
frontend/plugins/axios.ts
@@ -4,8 +4,8 @@ import { alert } from "~/composables/use-toast";
4
export default defineNuxtPlugin(() => {
5
const tokenName = useRuntimeConfig().public.AUTH_TOKEN;
6
const axiosInstance = axios.create({
7
+ // timeout removed to allow backend to handle timeouts
8
baseURL: "/", // api calls already pass with /api
- timeout: 10000,
9
headers: {
10
Authorization: "Bearer " + useCookie(tokenName).value,
11
},
0 commit comments