Update Config

Kibi Kelburton
2026-05-17 06:30:20 +00:00
parent 13863b6c4a
commit a4b287a379

@@ -74,6 +74,11 @@ This documents provides some explanation of the keys found in config.json
| `websrv` | `allowed_comment_images` | `Array` | Whitelisted hosts | `["i.imgur.com", "tenor.com", "giphy.com"]` | images/videos from these hosts can be embedded in the comments | `websrv` | `allowed_comment_images` | `Array` | Whitelisted hosts | `["i.imgur.com", "tenor.com", "giphy.com"]` | images/videos from these hosts can be embedded in the comments
| `websrv` | `show_mime_picker` | `Boolean` | UI Helper | `true` | Shows/Hides the mime type filter | `websrv` | `show_mime_picker` | `Boolean` | UI Helper | `true` | Shows/Hides the mime type filter
| `websrv` | `embed_youtube_in_comments` | `Boolean` | YT Embedding | `true` | Wether Youtube should be embedded by default or not | `websrv` | `embed_youtube_in_comments` | `Boolean` | YT Embedding | `true` | Wether Youtube should be embedded by default or not
| `websrv` | `allow_fileupload_comments` | `Boolean` | Comments | `false` | Allow/Disallow adding attachments to comments
| `websrv` | `fileupload_comments_multifile` | `Boolean` | Comments | `true` | Wether multiple attachments can be added at once or not
| `websrv` | `fileupload_comments_size` | `Int` | Comments | `104857600` | Max Filesize for attachments in bytes
| `websrv` | `fileupload_comments_max` | `Int` | Comments | `5` | Number of max attachments per comment
| `websrv` | `fileupload_comments_mode` | `String` | Comments | `attachment` | `attachment`,`inline`
| `websrv` | `show_content_warning` | `Boolean` | CW Toggle | `true` | Content Warning for first time visitors | `websrv` | `show_content_warning` | `Boolean` | CW Toggle | `true` | Content Warning for first time visitors
| `websrv` | `phrases` | `Array` | Random phrases | `["Hello World"]` | Unused but can show a random phrase where you place it. | `websrv` | `phrases` | `Array` | Random phrases | `["Hello World"]` | Unused but can show a random phrase where you place it.
| `websrv` | `ban_video` | `String` | Ban video URL | `""` | unused | `websrv` | `ban_video` | `String` | Ban video URL | `""` | unused