We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40062e3 commit f5b0663Copy full SHA for f5b0663
config/dispatcher/dispatcher.ex
@@ -9,6 +9,8 @@ defmodule Dispatcher do
9
@json %{ accept: %{ json: true } }
10
@html %{ accept: %{ html: true } }
11
12
+ layers [ :static, :services, :fall_back, :not_found ]
13
+
14
# In order to forward the 'themes' resource to the
15
# resource service, use the following forward rule:
16
#
@@ -19,7 +21,7 @@ defmodule Dispatcher do
19
21
# Run `docker-compose restart dispatcher` after updating
20
22
# this file.
23
- match "/*_", %{ last_call: true } do
24
+ match "/*_", %{ layer: :not_found } do
25
send_resp( conn, 404, "Route not found. See config/dispatcher.ex" )
26
end
27
0 commit comments