Skip to content

Feature request: remove extensions from path #96

@doowb

Description

@doowb

Since send is able to handle finding files when the extensions don't exist in the path, would it be possible to expand the redirect functionality here to remove extensions?

For instance, these redirects would take place:

from to
/login.html /login
/something/index.html /something/

I think this would only happen if the extensions option is already populated with the extensions for send to look for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions