From 43023747b71f5213afca8cc25f769001367f7a6f Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Mon, 4 May 2026 21:22:57 +0000 Subject: [PATCH] Update Config --- Config.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Config.md b/Config.md index 51bf102..cea61dc 100644 --- a/Config.md +++ b/Config.md @@ -77,6 +77,7 @@ This documents provides some explanation of the keys found in config.json | `websrv` | `open_registration` | `Boolean` | Registration | `true` | This enabled registration with email, otherwise it always requires a invite token | `websrv` | `open_registration_web_toggle` | `Boolean` | Web toggle | `false` | Toggles `websrv.open_registration` behaviour from /admin | `websrv` | `private_society` | `Boolean` | Privacy mode | `false` | Displays a fake 502 Bad Gateway login page and is useful in combo with `websrv.protect_files` +| `websrv` | `default_comment_display_mode` | `Int` | Default comment style | `0` / `1` | Tree Style or Linear Style ## 4. MIME Mapping (`mimes`) @@ -86,12 +87,14 @@ This documents provides some explanation of the keys found in config.json | `image/gif` | `gif` | `video/webp` | `webp` | | `video/mp4` | `mp4` | `audio/mpeg` | `mpg` | | `audio/ogg` | `ogg` | `audio/flac` | `flac` | -| `application/x-shockwave-flash` | `swf` | | | +| `application/x-shockwave-flash` | `swf` | +| `application/vnd.adobe.flash.movie` | `swf` | +| `application/pdf` | `pdf` | | ## 5. Email Settings (`smtp`) -| Key | Type | Value | -| :--- | :--- | :--- | +| Key | Type | Value | Additional +| :--- | :--- | :--- | :--- | | `enabled` | `Boolean` | `false` | | `host` | `String` | `"smtp.example.com"` | | `port` | `Number` | `465` | @@ -99,4 +102,4 @@ This documents provides some explanation of the keys found in config.json | `user` | `String` | `"smtp_user"` | | `password` | `String` | `"smtp_password"` | | `from` | `String` | `"admin@example.com"` | -| `mail_reset_password` | `Boolean` | `false` | \ No newline at end of file +| `mail_reset_password` | `Boolean` | `false` | When `false` the password reset option will not be available \ No newline at end of file