diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,11 @@ func main() { if err != nil { clog.Fatal(1, "Loading templates: "+err.Error()) } + + err = serve_static() + if err != nil { + clog.Fatal(1, "Serving static: "+err.Error()) + } http.HandleFunc("/{$}", handle_index) http.HandleFunc("/{project_name}/repos/{repo_name}/", handle_repo_index) |