Allow flac & ogg audio files to be uploaded by default

This commit is contained in:
Starbeamrainbowlabs 2019-05-24 21:48:41 +01:00
parent 7cff5ef879
commit f96321559a
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Added a new first-run wizard to help new users set up the basics of their wiki.
- It also checks to ensure that access to `peppermint.json` is blocked correctly (coming soon as a one-time check to pre-existing wikis)
- Pre-existing wikis will not see this first-run wizard - a new `firstrun_complete` setting has been added that's automatically set to true if Pepperminty Wiki does a settings upgrade
- Default to allowing lossless flac and ogg audio files to be uploaded
### Changed
- Core sharding: split `core.php` into multiple files

View File

@ -144,7 +144,9 @@
"video/mp4",
"video/webm",
"audio/mp4",
"audio/mpeg"
"audio/mpeg",
"audio/flac",
"audio/ogg"
]},
"preview_file_type": { "type": "text", "description": "The default file type for previews.", "default": "image/png" },
"default_preview_size": { "type": "number", "description": "The default size of preview images in pixels.", "default": 640},