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