New issue
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
Review host matching behaviour #56
Comments
Relevant logs (using logging PR):
|
If we feel it's important to have a host match, could we have a command line arg similar to the |
The |
The CLI would have to override I think. The issuer of the CLI command would know where they told it to listen. Basically if I create a bindle for my application, my bindle should NOT have to know where my users are going to serve it. |
Related to #58 Also, we did add a |
Closed by #72 |
I had a
modules.toml
that I assumed would not care about where it was served from - it specified routes and handlers but no hosting.I ran my WAGI server on
localhost:32768
and pointed it at thismodules.toml
. The routes failed to load, as far as I can tell because they did not match thedefault_host
oflocalhost:3000
.Am I misunderstanding? Is this expected behaviour? It surprised the heck out of me.
On the plus side, it did give us much better tracing of the handler mapping logic.
The text was updated successfully, but these errors were encountered: