Skip to content

Commit 0024a0c

Browse files
committed
Merge pull request nathanmarz#710 from d2r/d2r-sys-stats-toggle-fix
Fix sys stats cookie being lost from UI requests
2 parents 54ccd71 + cab6213 commit 0024a0c

File tree

1 file changed

+3
-3
lines changed
  • storm-core/src/clj/backtype/storm/ui

1 file changed

+3
-3
lines changed

storm-core/src/clj/backtype/storm/ui/core.clj

+3-3
Original file line numberDiff line numberDiff line change
@@ -803,9 +803,9 @@
803803
))))
804804

805805
(def app
806-
(-> #'main-routes
807-
(wrap-reload '[backtype.storm.ui.core])
808-
catch-errors))
806+
(handler/site (-> main-routes
807+
(wrap-reload '[backtype.storm.ui.core])
808+
catch-errors)))
809809

810810
(defn start-server! [] (run-jetty app {:port (Integer. (*STORM-CONF* UI-PORT))
811811
:join? false}))

0 commit comments

Comments
 (0)