diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -58,9 +58,11 @@ func run(ctx context.Context) error { //handlers gitHandler := handler.NewGitHandler(gitService) + aboutHandler := handler.NewAboutHandler(config.RootReadme) mux.Handle("/static/", staticHandler) mux.HandleFunc("/config", handler.ConfigFile(*configPath)) + mux.HandleFunc("/about", aboutHandler.About) mux.HandleFunc("/", gitHandler.List) serverTask := worker.NewServerTask(&http.Server{Handler: mux, Addr: "0.0.0.0:8080"}) |