move /health to /api/health
This commit is contained in:
parent
bf91ff550e
commit
6e25a79fbf
|
@ -20,7 +20,7 @@ proxy:
|
|||
ssl: true
|
||||
host: bright.futureporn.net
|
||||
healthcheck:
|
||||
path: /up
|
||||
path: /api/health
|
||||
interval: 2
|
||||
timeout: 2
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ defmodule BrightWeb.Router do
|
|||
get "/patrons", PatronController, :index
|
||||
get "/about", PageController, :about
|
||||
get "/api", PageController, :api
|
||||
get "/health", PageController, :health
|
||||
|
||||
|
||||
resources "/orders", OrderController, only: [:create, :show]
|
||||
|
@ -83,6 +82,7 @@ defmodule BrightWeb.Router do
|
|||
scope "/api", BrightWeb do
|
||||
pipe_through :api
|
||||
resources "/urls", UrlController, except: [:new, :edit]
|
||||
get "/health", PageController, :health
|
||||
end
|
||||
|
||||
# Enable LiveDashboard and Swoosh mailbox preview in development
|
||||
|
|
Loading…
Reference in New Issue