We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getPagePaths does not work correctly if pages folder located inside src folder there is an error because location of pages is /src/pages/[locale]
getPagePaths
pages
src
/src/pages/[locale]
The text was updated successfully, but these errors were encountered:
Hi @MrKiirya , i have reproduced this bug, thanks for your issue.
I will try to fix the bug within this days.
Sorry, something went wrong.
This is coused by the hard code LOCALE_PATH_PREFIX,
LOCALE_PATH_PREFIX
i18next-ssg/src/server/Redirect.tsx
Line 4 in 3fc66b5
fix in https://github.com/Yrobot/i18next-ssg/releases/tag/V3.0.2
it works fine under my test
Yrobot
Successfully merging a pull request may close this issue.
getPagePaths
does not work correctly ifpages
folder located insidesrc
folderthere is an error because location of pages is
/src/pages/[locale]
The text was updated successfully, but these errors were encountered: