summaryrefslogtreecommitdiffstats
path: root/routes/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/handler.go')
-rw-r--r--routes/handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/handler.go b/routes/handler.go
index 7d9266b..d230773 100644
--- a/routes/handler.go
+++ b/routes/handler.go
@@ -56,6 +56,7 @@ func Handlers(c *config.Config) *flow.Mux {
})
mux.HandleFunc("/", d.Index, "GET")
+ mux.HandleFunc("/static/:file", d.ServeStatic, "GET")
mux.HandleFunc("/:name", dw.Multiplex, "GET", "POST")
mux.HandleFunc("/:name/tree/:ref/...", d.RepoTree, "GET")
mux.HandleFunc("/:name/blob/:ref/...", d.FileContent, "GET")