summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 3800de3..eef401a 100644
--- a/main.go
+++ b/main.go
@@ -61,6 +61,7 @@ func main() {
GET: app.FileGet,
})
+ app.StartScheduler()
log.Println(fmt.Sprintf("serving on http://%s\n", "127.0.0.1:8080"))
log.Panicln(http.ListenAndServe("127.0.0.1:8080", nil))
}