diff options
author | FChannel <=> | 2021-01-14 19:57:16 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-14 19:57:16 -0800 |
commit | 83fccbfb4e6755662ef38d0a12fc073f38bf8bdf (patch) | |
tree | 37d92be62e8dd8c8093bfb82d2fba1bdd2d694a2 | |
parent | 4ef87adf6d767f163f5d39e3118fe1bb83508172 (diff) |
added transfer protocol to config file
-rw-r--r-- | config | 1 | ||||
-rw-r--r-- | main.go | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ instance:server.fchan.xyz +instancetp:https:// instanceport:3000 instancename:FChan instancesummary:FChan is a federated image board instance. @@ -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"} |