phew big stuff!!!!

This commit is contained in:
tsmethurst
2021-03-31 15:24:27 +02:00
parent 13d4fda7fa
commit 8014c9c5df
19 changed files with 689 additions and 57 deletions

View File

@ -18,7 +18,10 @@
package config
// AccountsConfig contains configuration to do with creating accounts, new registrations, and defaults.
// MediaConfig contains configuration for receiving and parsing media files and attachments
type MediaConfig struct {
MaxImageSize int64 `yaml:"maxImageSize"`
// Max size of uploaded images in bytes
MaxImageSize int `yaml:"maxImageSize"`
// Max size of uploaded video in bytes
MaxVideoSize int `yaml:"maxVideoSize"`
}