Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Add trailing slashes as routing option #519

@aubergene

Description

@aubergene

We export our site and our server is configured to add trailing slashes, so HTML page urls get redirected. It would be good to add a global option to add trailing slashes in Sapper so that the urls generates match that url and removes the redirect.

i.e. routes/about.html generates about/index.html but the link goes to about and then the user gets redirected to about/

This would only apply to html routes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions