Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use "localhost" for wildcard

fixes windows default configuration
Fixes #53
  • Loading branch information...
commit 71f93e4a6434ddff87c1dc443944fd0049e8a3b8 1 parent f9f0182
@robfig authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 harness/harness.go
View
5 harness/harness.go
@@ -83,6 +83,11 @@ func NewHarness() *Harness {
addr := revel.HttpAddr
port := revel.Config.IntDefault("harness.port", 0)
+ // If the server is running on the wildcard address, use "localhost"
+ if addr == "" {
+ addr = "localhost"
+ }
+
if port == 0 {
port = getFreePort()
}
Please sign in to comment.
Something went wrong with that request. Please try again.