Skip to content
New issue

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

Language switcher fails when baseURL has subfolder/project #153

Open
vinser opened this issue May 30, 2024 · 0 comments
Open

Language switcher fails when baseURL has subfolder/project #153

vinser opened this issue May 30, 2024 · 0 comments

Comments

@vinser
Copy link

vinser commented May 30, 2024

When baseURL has a project (folder) and is something like baseurl = "https://blist.vercel.app/project/" menu language switcher routes to wrong urls.
Default English home page url in such a case is http://localhost:1313/project/en/ and for Deutsch it should be http://localhost:1313/project/de/. But when I choose in from Language menu I get http://localhost:1313/de/ instead.
If you enter it manually in browser line all goes well until you try to switch language.

Is there any workaround for that? What I have missed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant