From eebd5d8c6d8a756384b6cf1b2cc76b8a83cdf929 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Tue, 20 Dec 2022 15:45:55 +0100 Subject: Add moderation TUI This ended up way fancier than I imagined. --- instance/config.example.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'instance') diff --git a/instance/config.example.py b/instance/config.example.py index 825afcb..9740ca2 100644 --- a/instance/config.example.py +++ b/instance/config.example.py @@ -58,6 +58,17 @@ FHOST_MIN_EXPIRATION = 30 * 24 * 60 * 60 * 1000 FHOST_MAX_EXPIRATION = 365 * 24 * 60 * 60 * 1000 +# This should be detected automatically when running behind a reverse proxy, but needs +# to be set for URL resolution to work in e.g. the moderation UI. +# SERVER_NAME = "example.com" + + +# Specifies which graphics protocol to use for the media previews in the moderation UI. +# Requires pympv with libmpv >= 0.36.0 and terminal support. +# Available choices are "sixel" and "kitty". +# MOD_PREVIEW_PROTO = "sixel" + + # Use the X-SENDFILE header to speed up serving files w/ compatible webservers # # Some webservers can be configured use the X-Sendfile header to handle sending -- cgit v1.2.3