Fixed config for upload path

This commit is contained in:
Magnus Åhall 2024-01-09 17:19:54 +01:00
parent 02c427da23
commit 39c26f77bc

View File

@ -80,6 +80,12 @@ func main() { // {{{
} }
logger.Info("application", "version", VERSION) logger.Info("application", "version", VERSION)
config, err = ConfigRead(flagConfig)
if err != nil {
logger.Error("application", "error", err)
os.Exit(1)
}
service, err = webservice.New(flagConfig, VERSION, logger) service, err = webservice.New(flagConfig, VERSION, logger)
if err != nil { if err != nil {
logger.Error("application", "error", err) logger.Error("application", "error", err)