From f7bf818d29393ceaccf4d2906557351fa6a4f49f Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 7 May 2022 21:21:38 -0700 Subject: added error func and general cleanup/organization --- config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config/config.go') diff --git a/config/config.go b/config/config.go index 35b8c26..16a1261 100644 --- a/config/config.go +++ b/config/config.go @@ -29,6 +29,7 @@ var DBName = GetConfigValue("dbname", "server") var CookieKey = GetConfigValue("cookiekey", "") var ActivityStreams = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"" var AuthReq = []string{"captcha", "email", "passphrase"} +var PostCountPerPage = 10 var SupportedFiles = []string{"image/gif", "image/jpeg", "image/png", "image/webp", "image/apng", "video/mp4", "video/ogg", "video/webm", "audio/mpeg", "audio/ogg", "audio/wav", "audio/wave", "audio/x-wav"} var MediaHashs = make(map[string]string) var Key string -- cgit v1.2.3