Fixed config for upload path
This commit is contained in:
parent
02c427da23
commit
39c26f77bc
6
main.go
6
main.go
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user