diff options
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |