healthcheck improvements
All checks were successful
CI/CD Pipeline / build (push) Successful in 31s

This commit is contained in:
2026-03-09 15:38:49 -06:00
parent 1da9432502
commit 876602fb4a
4 changed files with 20 additions and 13 deletions

View File

@@ -1,6 +1,9 @@
defmodule ElixirAiWeb.Endpoint do
use Phoenix.Endpoint, otp_app: :elixir_ai
# Health check plug - runs before everything else to avoid logging and unnecessary processing
plug ElixirAiWeb.Plugs.HealthCheck
# The session will be stored in the cookie and signed,
# this means its contents can be read but not tampered with.
# Set :encryption_salt if you would also like to encrypt it.