Skip to content

How do you do negative look ahead with parameter and wildcard? #378

@Rc85

Description

@Rc85

The routes I am trying to match

  • /api/auth/business (exact)
  • /api/auth/business/anything-here-except-login (I don't want to match /api/auth/business/login)

Currently, I have /api/auth/:application{/*path} but this matches /api/auth/business/login.

What do I have to write to not match login?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions