Skip to content

feat: Add redirection support for demonlist via /demonlist/levelid/<level_id> #354

Description

@jhk1090

Currently, navigating directly to a specific demon requires knowing the exact position or using the /demonlist/permalink/<demon_id>/ URL. While the permalink feature is incredibly useful, a shorter and more intuitive URL pattern like /demonlist/levelid/<level_id> would improve developer and user experience, making it easier to share or link to specific demons programmatically.

So, I would like to propose adding a redirection route for /demonlist/levelid/<level_id>.
When a user accesses https://pointercrate.com/demonlist/levelid/<level_id>, it should automatically redirect them to the corresponding demon's page (behave identically to the current /demonlist/permalink/<demon_id>/ behavior).

For example:
Request: https://pointercrate.com/demonlist/levelid/127323087 (127323087 is Society's level id)
Behavior: Redirects to the demon page with level id 127323087 (https://pointercrate.com/demonlist/1/)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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