Use SEND-ERROR instead of MAKE-ERROR-RESPONSE
This commit is contained in:
@@ -78,8 +78,8 @@
|
||||
|
||||
|
||||
(define (return-to-main-page req)
|
||||
(send/finish (make-error-response (status-code moved-perm) req
|
||||
"admin.scm" "admin.scm")))
|
||||
(send-error (status-code moved-perm) req
|
||||
"admin.scm" "admin.scm"))
|
||||
|
||||
(define (main req)
|
||||
(handler-options req))
|
||||
|
||||
Reference in New Issue
Block a user