aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-14 19:57:16 -0800
committerFChannel <=>2021-01-14 19:57:16 -0800
commit83fccbfb4e6755662ef38d0a12fc073f38bf8bdf (patch)
tree37d92be62e8dd8c8093bfb82d2fba1bdd2d694a2 /main.go
parent4ef87adf6d767f163f5d39e3118fe1bb83508172 (diff)
added transfer protocol to config file
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9fcd3e8..3e67f36 100644
--- a/main.go
+++ b/main.go
@@ -19,7 +19,7 @@ import "os"
import "bufio"
var Port = ":" + GetConfigValue("instanceport")
-var TP = "http://"
+var TP = GetConfigValue("instancetp")
var Domain = TP + "" + GetConfigValue("instance")
var authReq = []string{"captcha","email","passphrase"}