mirror of
https://github.com/alecthomas/chroma.git
synced 2025-11-29 22:47:29 +02:00
Simplify configuration of HTML call.
This commit is contained in:
@@ -153,7 +153,7 @@ func main() {
|
||||
}
|
||||
ctx := kong.Parse(&cli, kong.Configuration(konghcl.Loader))
|
||||
|
||||
log.Println("Starting")
|
||||
log.Printf("Starting on http://%s\n", cli.Bind)
|
||||
|
||||
router := mux.NewRouter()
|
||||
router.Handle("/", http.HandlerFunc(index)).Methods("GET")
|
||||
|
||||
Reference in New Issue
Block a user