diff --git a/apps/shelter/src/App.tsx b/apps/shelter/src/App.tsx index bf0fcf56..d6e0187c 100644 --- a/apps/shelter/src/App.tsx +++ b/apps/shelter/src/App.tsx @@ -10,8 +10,7 @@ import { router } from '@/routes'; const queryClient = new QueryClient({ defaultOptions: { queries: { - staleTime: 10 * 1000, - gcTime: 10 * 1000, + staleTime: 50 * 1000, }, }, }); diff --git a/apps/volunteer/src/App.tsx b/apps/volunteer/src/App.tsx index b175d324..7cc90448 100644 --- a/apps/volunteer/src/App.tsx +++ b/apps/volunteer/src/App.tsx @@ -10,7 +10,7 @@ import { router } from '@/routes'; const queryClient = new QueryClient({ defaultOptions: { queries: { - staleTime: 50000, + staleTime: 50 * 1000, }, }, }); diff --git a/packages/constants/src/baseURL.ts b/packages/constants/src/baseURL.ts index 0dd1145e..9565dc06 100644 --- a/packages/constants/src/baseURL.ts +++ b/packages/constants/src/baseURL.ts @@ -1,5 +1,4 @@ -// const DEV_BASE_URL = import.meta.env.VITE_BASE_URL; -const DEV_BASE_URL = '/'; +const DEV_BASE_URL = import.meta.env.VITE_BASE_URL; export const BASE_URL = import.meta.env.PROD ? import.meta.env.VITE_BASE_URL