create data folder
This commit is contained in:
4
main.go
4
main.go
@@ -22,7 +22,7 @@ func main() {
|
||||
log.Err(err).Msg("Error loading .env file")
|
||||
}
|
||||
|
||||
err = data.CleanTempFiles()
|
||||
err = data.CleanupDataDir()
|
||||
if err != nil {
|
||||
log.Err(err).Msg("Failed to clean temp files")
|
||||
}
|
||||
@@ -30,8 +30,8 @@ func main() {
|
||||
stop := make(chan os.Signal, 1)
|
||||
signal.Notify(stop, os.Interrupt)
|
||||
|
||||
go api.StartApiService()
|
||||
go db_updater.StartUpdateDbService()
|
||||
go api.StartApiService()
|
||||
|
||||
<-stop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user