Skip to content

Url ends with and without / is difference #7

@namleasia

Description

@namleasia

Currently, access these urls are difference:

/posts
/posts/

How to make these urls the same?

Currently, I have to define two paths for the same view:

const routes = [
        { path: "/posts", view: Posts },
        { path: "/posts/", view: Posts },
    ];

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