We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
Regex
(1..<result.numberOfRanges).forEach {
The text was updated successfully, but these errors were encountered:
Did you try following?
server.get("/{rest}") { req in return Response.ok("Got it") }
Sorry, something went wrong.
But that's just a workaround. The regex should in theory catch everything but it doesn't.
No branches or pull requests
Trying to intercept all routes:
doesn't work. Seems to be a bug in
Regex
L23:(1..<result.numberOfRanges).forEach {
should it start with 0?The text was updated successfully, but these errors were encountered: