Fixed config for upload path
This commit is contained in:
parent
02c427da23
commit
39c26f77bc
1 changed files with 6 additions and 0 deletions
6
main.go
6
main.go
|
@ -80,6 +80,12 @@ func main() { // {{{
|
|||
}
|
||||
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)
|
||||
if err != nil {
|
||||
logger.Error("application", "error", err)
|
||||
|
|
Loading…
Add table
Reference in a new issue