         endpoint-map      {:type              :context
                            :base-path         base-path
                            :context-listeners context-listeners}
-        enable-redirect  (:redirect-if-no-trailing-slash options)
+        enable-redirect  (get options :redirect-if-no-trailing-slash false)
         normalize-request-uri (get options :normalize-request-uri false)]
     (register-endpoint! state endpoint-map context-path)
     (add-context-handler s base-path context-path

  [webserver-context :- ServerContext
   war :- schema/Str
   path :- schema/Str
   disable-redirects-no-slash?
   normalize-request-uri? :- schema/Bool]
  (let [handler (doto (WebAppContext.)
                  (.setContextPath path)

        s             (get-server-context context server-id)
        state         (:state s)
        endpoint-map  {:type     :websocket}
        enable-redirect  (get options :redirect-if-no-trailing-slash false)
        normalize-request-uri (get options :normalize-request-uri false)]
    (register-endpoint! state endpoint-map path)
    (add-websocket-handler s
