diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index 1027ecc..77639bc 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -76,7 +76,7 @@ const Layout = () => { }, [language]); return ( - + { axiosIns = axios.create({ baseURL: `http://${server}`, headers: secret ? { Authorization: `Bearer ${secret}` } : {}, + timeout: 15000, }); axiosIns.interceptors.response.use((r) => r.data); return axiosIns;