Skip to content

Commit c9793a9

Browse files
committed
Make sure /api/health uses readiness check
1 parent 4f45eba commit c9793a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plausible_web/router.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ defmodule PlausibleWeb.Router do
295295
post "/event", Api.ExternalController, :event
296296
get "/error", Api.ExternalController, :error
297297
# Remove this once all external checks are migration to new /system/health/* checks
298-
get "/health", Api.SystemController, :liveness
298+
get "/health", Api.SystemController, :readiness
299299
end
300300

301301
scope "/system" do

0 commit comments

Comments
 (0)