Hi, Is it expected behaviour that in the following...
# ktor
v
Hi, Is it expected behaviour that in the following example
<http://localhost:8090/asdf>
leads to the ADMIN route? Shoudn’t no route be taken?
Copy code
embeddedServer(Netty, port = 8090) {
      // <http://localhost:8090/admin-prefix-hello> --> "ADMIN" (OK)
      // <http://localhost:8090/subdirectory/hello> --> "Wildcard 404" (OK)
      // <http://localhost:8090/asdf> --> "ADMIN" (WHAT? Why did it take that route?)
      install(Routing) {
        route("admin-prefix-{...}", HttpMethod.Get) {
          handle {
            call.respond("ADMIN")
          }
        }
        route("subdirectory") {
          route("{...}", HttpMethod.Get) {
            handle {
              call.respond("Wildcard 404")
            }
          }
        }
      }
    }.start()
o
Looks like a bug, please report