X-Git-Url: http://these/git/?a=blobdiff_plain;f=config%2Fdefaults.hjson;h=acd956a8e3b5228bd07b379c20c68b2e60530220;hb=4e12e25c59beef296c750fec640b0b80c4c11de9;hp=1ec60243a007bdd01ac16798cc7f132ad824013d;hpb=5b7376512fbc99b69b56618a1cf78e6cb090b563;p=lemmy.git diff --git a/config/defaults.hjson b/config/defaults.hjson index 1ec60243..acd956a8 100644 --- a/config/defaults.hjson +++ b/config/defaults.hjson @@ -70,6 +70,13 @@ # activities synchronously for easier testing. Do not use in production. debug: false } + # Pictrs image server configuration. + pictrs_config: { + # Address where pictrs is available (for image hosting) + url: "string" + # Set a custom pictrs API key. ( Required for deleting images ) + api_key: "string" + } captcha: { # Whether captcha is required for signup enabled: false @@ -108,8 +115,7 @@ port: 8536 # Whether the site is available over TLS. Needs to be true for federation to work. tls_enabled: true - # Address where pictrs is available (for image hosting) - pictrs_url: "http://localhost:8080" + # A regex list of slurs to block / hide slur_filter: "(\bThis\b)|(\bis\b)|(\bsample\b)" # Maximum length of local community and user names actor_name_max_length: 20