diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-05-25 00:38:44 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-05-25 00:38:44 +0200 |
commit | 5c17dc4d2057aaaa4279ae8c9adb9b49cc81bfd6 (patch) | |
tree | cb3f592c62f86df21b425cb4303e6cd04a7311b9 | |
parent | 0a7f44eb34e55ea3e6c39311a1b9ca86b8ff40ef (diff) |
Change port
-rw-r--r-- | server.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,12 +87,12 @@ func main() { if len(os.Args) == 2 { url = os.Args[1] } else { - url = "http://localhost:8000/" + url = "http://localhost:4729/" } if err := os.Chdir("out"); err != nil { panic(err) } http.HandleFunc("/", router) - log.Fatal(http.ListenAndServe(":8000", nil)) + log.Fatal(http.ListenAndServe(":4729", nil)) } |