Skip to content

Cannot intercept all routes #17

@JanHalozan

Description

@JanHalozan

Trying to intercept all routes:

server.get("/.*") { req -> Response in
    return Response.ok("Got it")
}

doesn't work. Seems to be a bug in Regex L23: (1..<result.numberOfRanges).forEach { should it start with 0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions