mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 00:04:23 -04:00
fix: Remove Frontend Timeout (#6033)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user