move /health to /api/health

This commit is contained in:
CJ_Clippy 2025-01-11 21:16:38 -08:00
parent bf91ff550e
commit 6e25a79fbf
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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