Skip to content

Commit

Permalink
Change router order
Browse files Browse the repository at this point in the history
  • Loading branch information
odarriba committed Nov 24, 2023
1 parent 5a0d31f commit 152b6bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/metro/router.ex
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
defmodule Metro.Router do
use Plug.Router

plug Metro.MetricsPlug

plug :match
plug :dispatch

plug Metro.MetricsPlug

match _ do
send_resp(conn, 404, "Not found")
end
Expand Down

0 comments on commit 152b6bd

Please sign in to comment.