diff options
author | zeripath <art27@cantab.net> | 2019-05-27 22:08:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 22:08:38 +0100 |
commit | 69d81b656978a03ff277a611f5c3d9ef1814d001 (patch) | |
tree | 57e6bbaa990551b646dfbd3c7d965450d5754f54 /modules/util/util_test.go | |
parent | 9ca7fcddbb4c9aba7a3f8e84f6c63b7504837bee (diff) | |
download | gitea-69d81b656978a03ff277a611f5c3d9ef1814d001.tar.gz gitea-69d81b656978a03ff277a611f5c3d9ef1814d001.zip |
Handle insecure and ports in go get (#7041)
* Handle insecure and ports in go get
* Fix IsExternalURL for non-standard ports
Diffstat (limited to 'modules/util/util_test.go')
-rw-r--r-- | modules/util/util_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/util/util_test.go b/modules/util/util_test.go index 3a2b4b71ff..2475065059 100644 --- a/modules/util/util_test.go +++ b/modules/util/util_test.go @@ -46,7 +46,7 @@ func TestURLJoin(t *testing.T) { } func TestIsExternalURL(t *testing.T) { - setting.Domain = "try.gitea.io" + setting.AppURL = "https://try.gitea.io" type test struct { Expected bool RawURL string |