fixed broken redirects

This commit is contained in:
Chris Cochrun 2024-04-25 21:54:49 -05:00
parent 6cf35dea02
commit f891204172

View file

@ -417,7 +417,7 @@ with the image attached"
(let* ((request-type (hunchentoot:request-method hunchentoot:*request*)) (let* ((request-type (hunchentoot:request-method hunchentoot:*request*))
(data (hunchentoot:post-parameters* hunchentoot:*request*)) (data (hunchentoot:post-parameters* hunchentoot:*request*))
(registration (cdr (assoc "registration" data :test 'string=))) (registration (cdr (assoc "registration" data :test 'string=)))
(health (cdr (assoc "health" data :test 'string=)))) (health (cdr (assoc "health-form" data :test 'string=))))
(log:info data) (log:info data)
;; This is extremely necessary so that cors is right ;; This is extremely necessary so that cors is right
(setf (tbnl:header-out :access-control-expose-headers) "*") (setf (tbnl:header-out :access-control-expose-headers) "*")