#1692 add organization APIs

This commit is contained in:
Unknwon committed 2015-12-17 02:28:47 -05:00
1 parent 6673dcb038
commit 9cd16c5b12
20 files changed
+204 -55

No files matched your search

+2 -2
View File
@@ -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()