From 5dc1cc5911e960ac2d671aab20f5153f98b10778 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Fri, 22 Apr 2016 09:09:45 +0300 Subject: [PATCH] Version bunch --- wai-handler-launch/ChangeLog.md | 4 ++++ wai-handler-launch/Network/Wai/Handler/Launch.hs | 3 +++ wai-handler-launch/wai-handler-launch.cabal | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wai-handler-launch/ChangeLog.md b/wai-handler-launch/ChangeLog.md index 88c36583..5515b008 100644 --- a/wai-handler-launch/ChangeLog.md +++ b/wai-handler-launch/ChangeLog.md @@ -1,3 +1,7 @@ +## 3.0.1 + +* make host configurable too (fixes #538) [#539](https://github.com/yesodweb/wai/pull/539) + ## 3.0.0.5 * Support wai/warp 3.2 diff --git a/wai-handler-launch/Network/Wai/Handler/Launch.hs b/wai-handler-launch/Network/Wai/Handler/Launch.hs index 0b3d3ea8..6732f230 100644 --- a/wai-handler-launch/Network/Wai/Handler/Launch.hs +++ b/wai-handler-launch/Network/Wai/Handler/Launch.hs @@ -190,6 +190,9 @@ runUrl = runUrlPort 4587 runUrlPort :: Int -> String -> Application -> IO () runUrlPort = runHostPortUrl "*4" +-- | +-- +-- @since 3.0.1 runHostPortUrl :: String -> Int -> String -> Application -> IO () runHostPortUrl host port url app = do x <- newIORef True diff --git a/wai-handler-launch/wai-handler-launch.cabal b/wai-handler-launch/wai-handler-launch.cabal index e90fb360..686aef47 100644 --- a/wai-handler-launch/wai-handler-launch.cabal +++ b/wai-handler-launch/wai-handler-launch.cabal @@ -1,5 +1,5 @@ Name: wai-handler-launch -Version: 3.0.0.5 +Version: 3.0.1 Synopsis: Launch a web app in the default browser. description: API docs and the README are available at . License: MIT