Add health check
This commit is contained in:
parent
9c2e5ca79c
commit
06cc61f247
3 changed files with 23 additions and 4 deletions
src/routes
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue