Permalink
Browse files

Listen on 0.0.0.0 as it helps when locally debugging

  • Loading branch information...
1 parent d3e5ed8 commit f8d2ee8a04a97e84bb0643d1f371ce753c441f20 @BenHall committed Jan 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Program.cs
View
@@ -10,7 +10,7 @@ class Program
static void Main()
{
var port = System.Environment.GetEnvironmentVariable("PORT");
- var nancyHost = new NancyHost(new Uri("http://deep-moon-1452.herokuapp.com:" + port), new Uri("http://deep-moon-1452.herokuapp.com:" + port + "/"));
+ var nancyHost = new NancyHost(new Uri("http://deep-moon-1452.herokuapp.com:" + port), new Uri("http://0.0.0.0:" + port));
nancyHost.Start();
Console.WriteLine("Nancy now listening - navigating to http://deep-moon-1452.herokuapp.com:" + port +".");

0 comments on commit f8d2ee8

Please sign in to comment.