diff options
author | Kevin Chabowski <kevin@kch42.de> | 2014-03-25 15:31:57 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2014-03-25 15:31:57 +0100 |
commit | 3aa1c450a3376a4339354579f90b6111b963c78a (patch) | |
tree | 00843a98726d59ceca510f005cff093c5d9a8421 /main.go | |
parent | 734f6e92016ca875ad56ff7e423a0872648c012f (diff) | |
download | simplechat-3aa1c450a3376a4339354579f90b6111b963c78a.tar.gz simplechat-3aa1c450a3376a4339354579f90b6111b963c78a.tar.bz2 simplechat-3aa1c450a3376a4339354579f90b6111b963c78a.zip |
Some placeholders for the HTML pages
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)))) |