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