aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config1
-rw-r--r--main.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/config b/config
index c390e19..2299ea8 100644
--- a/config
+++ b/config
@@ -1,4 +1,5 @@
instance:server.fchan.xyz
+instancetp:https://
instanceport:3000
instancename:FChan
instancesummary:FChan is a federated image board instance.
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"}