Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix(frontend): provided href invalid error
이강준76da4494634f
diff --git a/frontend/.gitignore b/frontend/.gitignoreindex 83e774c8cf..5edd5a7fa3 100644--- a/frontend/.gitignore+++ b/frontend/.gitignore@@ -32,3 +32,5 @@ yarn-error.log*.env.production.local.vercel.env.infisical++.vscode\ No newline at end of filediff --git a/frontend/.vscode/settings.json b/frontend/.vscode/settings.jsondeleted file mode 100644index b2ae7a5ea3..0000000000--- a/frontend/.vscode/settings.json+++ /dev/null@@ -1,7 +0,0 @@-{- "i18n-ally.localesPaths": [- "locales",- "public/locales"- ],- "i18n-ally.sourceLanguage": "en"-}\ No newline at end of filediff --git a/frontend/next-i18next.config.js b/frontend/next-i18next.config.jsindex 698cf62b1f..5de9c97bc7 100644--- a/frontend/next-i18next.config.js+++ b/frontend/next-i18next.config.js@@ -10,6 +10,9 @@ module.exports = {defaultLocale: "en",locales: ["en", "ko"],},+ fallbackLng: {+ default: ["en"],+ },reloadOnPrerender: process.env.NODE_ENV === "development",diff --git a/frontend/pages/_app.js b/frontend/pages/_app.jsindex 75a44f4a39..54ed7d5121 100644--- a/frontend/pages/_app.js+++ b/frontend/pages/_app.js@@ -20,7 +20,7 @@ const App = ({ Component, pageProps, ...appProps }) => {useEffect(() => {const storedLang = localStorage.getItem("lang");if (router.locale ?? "en" !== storedLang ?? "en") {- router.push(router.pathname, router.pathname, {+ router.push(router.asPath, router.asPath, {locale: storedLang ?? "en",});}