Now scans in a separate go routine

master
Noah Pederson 6 years ago
parent e3b13fec9c
commit e70cdbe190
  1. 2
      gocomics.go

@ -16,7 +16,7 @@ func main() {
config := &config.ApiConfig{
false, false, ":3008", ":3000",
}
comicscanner.Scan("./comics")
go comicscanner.Scan("./comics")
web.Start(config)

Loading…
Cancel
Save