Skip to content

Language switcher fails when baseURL has subfolder/project #153

@vinser

Description

@vinser

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions