mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-26 00:05:10 -07:00
fix: Remove Frontend Timeout (#6033)
This commit is contained in:
parent
347af7d417
commit
894162a669
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue