s/127.0.0.1/localhost yesodweb/yesod-scaffold#114
This commit is contained in:
parent
af00b76a18
commit
32dbad23d3
@ -198,10 +198,10 @@ reverseProxy opts iappPort = do
|
|||||||
httpProxy = run (develPort opts) proxyApp
|
httpProxy = run (develPort opts) proxyApp
|
||||||
httpsProxy = runProxyTls (develTlsPort opts) proxyApp
|
httpsProxy = runProxyTls (develTlsPort opts) proxyApp
|
||||||
putStrLn "Application can be accessed at:\n"
|
putStrLn "Application can be accessed at:\n"
|
||||||
putStrLn $ "http://127.0.0.1:" ++ show (develPort opts)
|
putStrLn $ "http://localhost:" ++ show (develPort opts)
|
||||||
putStrLn $ "https://127.0.0.1:" ++ show (develTlsPort opts)
|
putStrLn $ "https://localhost:" ++ show (develTlsPort opts)
|
||||||
putStrLn $ "If you wish to test https capabilities, you should set the following variable:"
|
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 ""
|
putStrLn ""
|
||||||
loop (race_ httpProxy httpsProxy) `Ex.catch` \e -> do
|
loop (race_ httpProxy httpsProxy) `Ex.catch` \e -> do
|
||||||
print (e :: Ex.SomeException)
|
print (e :: Ex.SomeException)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user