diff --git a/backend/internal/config/conf.go b/backend/internal/config/conf.go index c6493f5..7d63ea8 100644 --- a/backend/internal/config/conf.go +++ b/backend/internal/config/conf.go @@ -31,8 +31,9 @@ type SwaggerConf struct { } type WebConfig struct { - Port string `yaml:"port" conf:"default:7745"` - Host string `yaml:"host"` + Port string `yaml:"port" conf:"default:7745"` + Host string `yaml:"host"` + MaxUploadSize int64 `yaml:"max_file_upload" conf:"default:10"` } // NewConfig parses the CLI/Config file and returns a Config struct. If the file argument is an empty string, the