From 83fccbfb4e6755662ef38d0a12fc073f38bf8bdf Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Thu, 14 Jan 2021 19:57:16 -0800 Subject: added transfer protocol to config file --- config | 1 + main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"} -- cgit v1.2.3