mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 16:24:31 -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(() => {
|
export default defineNuxtPlugin(() => {
|
||||||
const tokenName = useRuntimeConfig().public.AUTH_TOKEN;
|
const tokenName = useRuntimeConfig().public.AUTH_TOKEN;
|
||||||
const axiosInstance = axios.create({
|
const axiosInstance = axios.create({
|
||||||
|
// timeout removed to allow backend to handle timeouts
|
||||||
baseURL: "/", // api calls already pass with /api
|
baseURL: "/", // api calls already pass with /api
|
||||||
timeout: 10000,
|
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: "Bearer " + useCookie(tokenName).value,
|
Authorization: "Bearer " + useCookie(tokenName).value,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user