mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
example: Fix URL guide
This commit is contained in:
parent
debbc19c82
commit
c94f94cc17
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user