Add health check

This commit is contained in:
Akira Tempaku 2025-05-01 12:46:15 +09:00
commit 06cc61f247
Signed by: paku
GPG key ID: 5B4E8402BCC50607
3 changed files with 23 additions and 4 deletions
src/routes

View file

@ -1,7 +1,8 @@
(defpackage #:hp/routes/index
(:use #:cl
#:hsx)
(:export #:handle-get))
(:export #:handle-get
#:handle-head))
(in-package #:hp/routes/index)
(defparameter *links*
@ -30,3 +31,7 @@
(declare (ignore params))
(list :body (~page)
:cache :static))
; for health check
(defun handle-head (params)
(declare (ignore params)))