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 b546da4..9502f0c 100644
--- a/main.go
+++ b/main.go
@@ -24,6 +24,8 @@ func main() {
log.Fatalln("flag perroom must not be 0")
}
+ PrepTemplates()
+
r := mux.NewRouter()
r.HandleFunc("/", Home)
r.PathPrefix("/static").Handler(http.StripPrefix("/static/", http.FileServer(http.Dir(*staticpath))))