wai-handler-launch 3.0.2.1 → 3.0.2.2
raw patch · 3 files changed
+6/−2 lines, 3 files
Files
- ChangeLog.md +4/−0
- Network/Wai/Handler/Launch.hs +1/−1
- wai-handler-launch.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 3.0.2.2++* Improvements to ping's javascript script. [#494](https://github.com/yesodweb/wai/pull/494)+ ## 3.0.2.1 * Relax upper bound on process
Network/Wai/Handler/Launch.hs view
@@ -84,7 +84,7 @@ Z.finishInflate inflate >>= sendInner . fromByteString toInsert :: S.ByteString-toInsert = "<script>setInterval(function(){var x;if(window.XMLHttpRequest){x=new XMLHttpRequest();}else{x=new ActiveXObject(\"Microsoft.XMLHTTP\");}x.open(\"GET\",\"/_ping\",false);x.send();},60000)</script>"+toInsert = "<script>setInterval(function(){var x;if(window.XMLHttpRequest){x=new XMLHttpRequest();}else{x=new ActiveXObject(\"Microsoft.XMLHTTP\");}x.open(\"GET\",\"/_ping?\" + (new Date()).getTime(),true);x.send();},60000)</script>" addInsideHead :: (Builder -> IO ()) -> IO ()
wai-handler-launch.cabal view
@@ -1,5 +1,5 @@ Name: wai-handler-launch-Version: 3.0.2.1+Version: 3.0.2.2 Synopsis: Launch a web app in the default browser. description: API docs and the README are available at <http://www.stackage.org/package/wai-handler-launch>. License: MIT