From 3b376315f44c50a6512344e0211fa9b27f13cc68 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Wed, 23 Nov 2016 15:32:57 +1300 Subject: [PATCH] web-redirect/temporary! --- racketmq/hub.rkt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/racketmq/hub.rkt b/racketmq/hub.rkt index 3e7ed20..85828b5 100644 --- a/racketmq/hub.rkt +++ b/racketmq/hub.rkt @@ -57,10 +57,4 @@ (during (http-listener $host-name $port) (assert (vh host-name port)) (on (web-request-get (id req) (vh host-name port) ("" ())) - (web-respond/bytes! id - #:header (web-response-header - #:code 303 - #:message #"Moved" - #:headers (list (cons 'location "/index.html") - (cons 'content-type "text/html"))) - #"Moved")))) + (web-redirect/temporary! id "/index.html"))))