Update Config

Kibi Kelburton
2026-05-04 21:22:57 +00:00
parent 45742f4e08
commit 43023747b7

@@ -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` |
| `mail_reset_password` | `Boolean` | `false` | When `false` the password reset option will not be available