Skip to content

Rewriting URLs #1858

Closed
Closed
@ClassicOldSong

Description

@ClassicOldSong

What problem does this feature solve?

Much like redirect, but a programmable alias route. Such as when I'm visiting '/me', actually I'm visiting '/user/:username'.

What does the proposed API look like?

{
path: '/alias',
aliasTo: to => 'path/I/would/like/to/be/aliased/to'
}

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