From 1b104e32607abe219189b9bc3dd9f7593c1fe292 Mon Sep 17 00:00:00 2001 From: Pedro Ribeiro <47680931+tubarao312@users.noreply.github.com> Date: Wed, 6 Mar 2024 02:54:42 +0000 Subject: [PATCH] Update instance.ts --- src/api/instance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/instance.ts b/src/api/instance.ts index 64d09fea..9831a521 100644 --- a/src/api/instance.ts +++ b/src/api/instance.ts @@ -2,7 +2,7 @@ import Axios, { AxiosRequestConfig } from "axios"; export const AXIOS_INSTANCE = Axios.create({ baseURL: process.env.VITE_WARD_API_BASE_URL, - timeout: 5000, // 5 second timeout + timeout: 30000, // 30 second timeout }); AXIOS_INSTANCE.interceptors.request.use((config) => {