aboutsummaryrefslogtreecommitdiff
path: root/blog/blog.go
diff options
context:
space:
mode:
Diffstat (limited to 'blog/blog.go')
-rw-r--r--blog/blog.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/blog/blog.go b/blog/blog.go
index 08125df..9d861c1 100644
--- a/blog/blog.go
+++ b/blog/blog.go
@@ -37,7 +37,8 @@ func init() {
}
http.HandleFunc("/blog", redirect)
http.HandleFunc("/blog/", redirect)
-
+ http.Handle("/fonts/", http.FileServer(http.Dir("static")))
+ http.Handle("/fonts.css", http.FileServer(http.Dir("static")))
http.Handle("/lib/godoc/", http.StripPrefix("/lib/godoc/", http.HandlerFunc(staticHandler)))
}