Use SEND-ERROR instead of MAKE-ERROR-RESPONSE
This commit is contained in:
parent
ac28d0c6a2
commit
e99acd10ee
|
@ -328,8 +328,8 @@
|
|||
(map car continuations))))
|
||||
|
||||
(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)
|
||||
(show-surflets req))
|
||||
|
|
Loading…
Reference in New Issue