Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrossley3 committed Jul 21, 2015
1 parent 4ef3f7b commit dcd89bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -50,7 +50,7 @@ unpacking an archive. For our purposes, we'll drop it in the project
directory. For a list of available versions, see
<http://wildfly.org/downloads/>

VERSION=8.2.0.Final
VERSION=9.0.0.Final

# Install WildFly
wget http://download.jboss.org/wildfly/$VERSION/wildfly-$VERSION.zip
Expand Down
1 change: 1 addition & 0 deletions resources/public/index.html
Expand Up @@ -12,6 +12,7 @@ <h2>Feature Demo</h2>
<li><a href="any/url?foo=bar&x=42">/any/url?foo=bar&x=42</a> (dumps the request map)</li>
<li><a href="websocket.html">WebSockets</a></li>
<li><a href="sse.html">Server-Sent Events</a></li>
<li><a href="http-kit">async-handler</a> from <a href="http://www.http-kit.org/">HTTP Kit</a></li>
</ul>
</body>
</html>
6 changes: 3 additions & 3 deletions src/demo/web.clj
@@ -1,7 +1,7 @@
(ns demo.web
(:require [immutant.web :as web]
[immutant.web.async :as async]
[immutant.web.middleware :as immutant]
[immutant.web.middleware :as mw]
[demo.web.sse :as sse]
[demo.web.http-kit-comparison :as hk]
[compojure.route :as route]
Expand Down Expand Up @@ -50,9 +50,9 @@
(defn -main [& {:as args}]
(web/run
(-> routes
(immutant/wrap-session
(immutant.web.middleware/wrap-session
{:timeout 20})
#_(immutant/wrap-websocket
#_(immutant.web.middleware/wrap-websocket
{:on-open (fn [ch] (println "You opened a websocket!"))}))
(merge {"host" (env :demo-web-host), "port" (env :demo-web-port)}
args)))

0 comments on commit dcd89bd

Please sign in to comment.