mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
example/_server: Add a kind message
This commit is contained in:
parent
115c97f296
commit
2e581abe2b
@ -143,5 +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)
|
||||||
log.Fatal(http.ListenAndServe(":"+strconv.Itoa(*port), nil))
|
log.Fatal(http.ListenAndServe(":"+strconv.Itoa(*port), nil))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user