summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-17 02:28:47 -0500
committerUnknwon <u@gogs.io>2015-12-17 02:28:47 -0500
commit9cd16c5b12d093dd694e146d6c845ee4c405c774 (patch)
treed9f1a037ba8ecbc3e5fe2f15f0baec6dec6242b4 /modules/setting
parent6673dcb0380aa99da25b4d1d68cf129635fe30d9 (diff)
downloadgitea-9cd16c5b12d093dd694e146d6c845ee4c405c774.tar.gz
gitea-9cd16c5b12d093dd694e146d6c845ee4c405c774.zip
#1692 add organization APIs
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 5beb37fd60..4b6136ac72 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -59,7 +59,7 @@ var (
Protocol Scheme
Domain string
HttpAddr, HttpPort string
- LocalUrl string
+ LocalURL string
DisableSSH bool
StartSSHServer bool
SSHDomain string
@@ -302,7 +302,7 @@ func NewContext() {
Domain = sec.Key("DOMAIN").MustString("localhost")
HttpAddr = sec.Key("HTTP_ADDR").MustString("0.0.0.0")
HttpPort = sec.Key("HTTP_PORT").MustString("3000")
- LocalUrl = sec.Key("LOCAL_ROOT_URL").MustString("http://localhost:" + HttpPort + "/")
+ LocalURL = sec.Key("LOCAL_ROOT_URL").MustString("http://localhost:" + HttpPort + "/")
DisableSSH = sec.Key("DISABLE_SSH").MustBool()
if !DisableSSH {
StartSSHServer = sec.Key("START_SSH_SERVER").MustBool()