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
I assume it's either before all other layers, or after all other layers :) Would be handy to have in the readme which one it is.
E.g.:
defmodule Dispatcher do use Matcher define_layers [ :api_services, :api, :frontend, :not_found ] match "/path" do forward conn, path, "http://foo/" end match "/path", %{ layer: :api } do forward conn, path, "http://bar/" end end
will a request to /path be forwarded to foo, or to bar?
/path
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I assume it's either before all other layers, or after all other layers :)
Would be handy to have in the readme which one it is.
E.g.:
will a request to
/path
be forwarded to foo, or to bar?The text was updated successfully, but these errors were encountered: