         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
   handlers :- websockets/WebsocketHandlers
   path :- schema/Str
   enable-trailing-slash-redirect?
   normalize-request-uri? :- schema/Bool]
  (let [handler (handler-maybe-wrapped-with-normalized-uri
                 (websockets/websocket-handler handlers)

        endpoint-map        {:type     :servlet
                             :servlet  (type servlet)}

        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-servlet-handler s
