From 32dbad23d32ead35a3b7b298abd170063316d3c5 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 6 Dec 2015 12:55:16 +0200 Subject: [PATCH] s/127.0.0.1/localhost yesodweb/yesod-scaffold#114 --- yesod-bin/Devel.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yesod-bin/Devel.hs b/yesod-bin/Devel.hs index 11146a05..90641270 100644 --- a/yesod-bin/Devel.hs +++ b/yesod-bin/Devel.hs @@ -198,10 +198,10 @@ reverseProxy opts iappPort = do httpProxy = run (develPort opts) proxyApp httpsProxy = runProxyTls (develTlsPort opts) proxyApp putStrLn "Application can be accessed at:\n" - putStrLn $ "http://127.0.0.1:" ++ show (develPort opts) - putStrLn $ "https://127.0.0.1:" ++ show (develTlsPort opts) + putStrLn $ "http://localhost:" ++ show (develPort opts) + putStrLn $ "https://localhost:" ++ show (develTlsPort opts) putStrLn $ "If you wish to test https capabilities, you should set the following variable:" - putStrLn $ " export APPROOT=https://127.0.0.1:" ++ show (develTlsPort opts) + putStrLn $ " export APPROOT=https://localhost:" ++ show (develTlsPort opts) putStrLn "" loop (race_ httpProxy httpsProxy) `Ex.catch` \e -> do print (e :: Ex.SomeException)