summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-05-25 15:18:15 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-25 15:18:15 +0200
commitfc524f8cf16761f949303a96bca14e63c46ceda8 (patch)
tree7c73a836c4d0d89e3dbc672269ceabad082547e6 /example
parent[bugfix] allow usernames of length 1 (#1823) (diff)
downloadgotosocial-fc524f8cf16761f949303a96bca14e63c46ceda8.tar.xz
[feature] Configurable custom css length (#1827)
* [feature] Make accounts custom css length configurable * test custom css validation
Diffstat (limited to 'example')
-rw-r--r--example/config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml
index 7f119ab16..c0b850ad9 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -433,6 +433,13 @@ accounts-reason-required: true
# Default: false
accounts-allow-custom-css: false
+# Int. If accounts-allow-custom-css is true, this is the permitted length in characters for
+# CSS uploaded by accounts on this instance. No effect if accounts-allow-custom-css is false.
+#
+# Examples: [500, 5000, 9999]
+# Default: 10000
+accounts-custom-css-length: 10000
+
########################
##### MEDIA CONFIG #####
########################