diff options
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |