Basic web server startup

This commit is contained in:
2017-07-26 22:40:21 +09:30
parent ab54ace0d2
commit 497d2e3e27
2 changed files with 33 additions and 7 deletions

5
dau.go
View File

@@ -45,12 +45,11 @@ type Config struct {
func main() {
config := parseOptions()
checkPath(config.path)
checkUpdates()
web.Init()
checkUpdates()
log.Print("Waiting for images to appear in ", config.path)
// wander the path, forever
for {