summaryrefslogtreecommitdiffhomepage
path: root/server.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-05-25 00:38:44 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-05-25 00:38:44 +0200
commit5c17dc4d2057aaaa4279ae8c9adb9b49cc81bfd6 (patch)
treecb3f592c62f86df21b425cb4303e6cd04a7311b9 /server.go
parent0a7f44eb34e55ea3e6c39311a1b9ca86b8ff40ef (diff)
Change port
Diffstat (limited to 'server.go')
-rw-r--r--server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.go b/server.go
index 8d8d057..f5db168 100644
--- a/server.go
+++ b/server.go
@@ -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))
}