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