diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 7fa512ae7..67c25716a 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -75,7 +75,10 @@ const CoreApp: Omit = ({ useEffect(() => { loadLocaleData(currentLocale).then(setMessages); - setCookie(null, 'locale', currentLocale, { path: '/' }); + setCookie(null, 'locale', currentLocale, { + path: '/', + maxAge: 60 * 60 * 24 * 365 * 10, + }); }, [currentLocale]); if (router.pathname.match(/(login|setup)/)) {