summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 1cdccc2..ac295d5 100644
--- a/main.go
+++ b/main.go
@@ -78,6 +78,8 @@ func main() {
log.Fatalf("Could not get net.laddr config: %s", err)
}
+ go checkmails()
+
router := mux.NewRouter()
router.PathPrefix("/static").Handler(http.StripPrefix("/static/", http.FileServer(http.Dir(staticpath))))
router.HandleFunc("/register", mkHttpHandler(register, tplRegister))