Skip to content

How to route unknown paths? #783

Closed
@silvioprog

Description

@silvioprog

Hi.

I'm trying to write a reverse proxy example (#784), but I don't know how to route all possible paths. Consider the following example:

app.at("*") ... ;

now, take a look this tests below:

curl http://localhost:8080/test
ok
curl http://localhost:8080/
404
curl http://localhost:8080
404

Well, since wildcard allows anything, it should return ok in and / too. 😕

Thank you!

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