summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 944c3e0..e2a66ba 100644
--- a/main.go
+++ b/main.go
@@ -32,12 +32,12 @@ func main() {
fs := http.FileServer(http.Dir("static"))
mux := http.NewServeMux()
mux.Handle("GET /favicon.ico", fs)
+ mux.Handle("GET /fonts/", fs)
mux.Handle("GET /style.css", fs)
mux.Handle("GET /", middleware.Pipe(
middleware.Theme,
middleware.I18n,
)(http.HandlerFunc(finalHandler)))
-
mux.Handle("POST /language", http.HandlerFunc(setUserLanguage))
mux.Handle("POST /theme", http.HandlerFunc(setUserTheme))