diff options
author | Nathan Youngman <git@nathany.com> | 2015-01-01 08:32:56 -0700 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-01-01 23:57:29 +0100 |
commit | c6f4b09f653644b9ed9186c6fdefa8e1b571dcc1 (patch) | |
tree | f648d86b9fed34b89d6c31130f42bb81cd50b537 /commands/server_test.go | |
parent | dd1001ceda08c11ad25a505c22a0550bed42d863 (diff) | |
download | hugo-c6f4b09f653644b9ed9186c6fdefa8e1b571dcc1.tar.gz hugo-c6f4b09f653644b9ed9186c6fdefa8e1b571dcc1.zip |
always use http scheme for localhost
fixes #758
Diffstat (limited to 'commands/server_test.go')
-rw-r--r-- | commands/server_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/server_test.go b/commands/server_test.go index f2a292037..d53a15b78 100644 --- a/commands/server_test.go +++ b/commands/server_test.go @@ -17,7 +17,7 @@ func TestFixUrl(t *testing.T) { } tests := []data{ {"Basic http localhost", "", "http://foo.com", true, 1313, "http://localhost:1313"}, - {"Basic https localhost", "", "https://foo.com", true, 1313, "https://localhost:1313"}, + {"Basic https production, http localhost", "", "https://foo.com", true, 1313, "http://localhost:1313"}, {"Basic subdir", "", "http://foo.com/bar", true, 1313, "http://localhost:1313/bar"}, {"Basic production", "http://foo.com", "http://foo.com", false, 80, "http://foo.com"}, {"Production subdir", "http://foo.com/bar", "http://foo.com/bar", false, 80, "http://foo.com/bar"}, |