From e1c640d82c54e1ee900638091d8234abadf6e9ca Mon Sep 17 00:00:00 2001 From: jundm Date: Sun, 24 Apr 2022 07:13:29 +0900 Subject: [PATCH] feat:.withCredentials true --- frontend/pages/_app.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/pages/_app.tsx b/frontend/pages/_app.tsx index 38d8281..928eed7 100644 --- a/frontend/pages/_app.tsx +++ b/frontend/pages/_app.tsx @@ -17,6 +17,7 @@ import { parseJwt, setVerifyToken } from "@utils/Cookies/TokenManager"; import Footer from "@components/Footer"; function App({ Component, pageProps }: AppProps) { + axios.defaults.withCredentials = true; const router = useRouter(); const routeName = router.pathname.split("/"); const toggleHeader = useAppSelector(globalHeader);