example: Fix URL guide

This commit is contained in:
Hajime Hoshi 2016-02-08 01:52:25 +09:00
parent debbc19c82
commit c94f94cc17

View File

@ -143,6 +143,6 @@ func main() {
http.HandleFunc("/main.js", serveMainJS) http.HandleFunc("/main.js", serveMainJS)
http.HandleFunc("/main.js.map", serveMainJSMap) http.HandleFunc("/main.js.map", serveMainJSMap)
http.Handle("/", http.FileServer(http.Dir(rootPath))) http.Handle("/", http.FileServer(http.Dir(rootPath)))
fmt.Printf("http://localhost:%d/\n", *port) fmt.Printf("http://localhost:%d/?blocks\n", *port)
log.Fatal(http.ListenAndServe(":"+strconv.Itoa(*port), nil)) log.Fatal(http.ListenAndServe(":"+strconv.Itoa(*port), nil))
} }