summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-04-22 11:25:00 +0200
committerSanto Cariotti <santo@dcariotti.me>2025-04-22 11:25:00 +0200
commite40ab6279c118d35f859c38d387f6227ad5e602e (patch)
treefc56c22748ff812f405f57843980dc456e867b56
parentf03e538a010e38f4e29e9519fdf1732bd80df955 (diff)
Use machine IP
-rw-r--r--pkg/ui/views/play_api.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/ui/views/play_api.go b/pkg/ui/views/play_api.go
index bf9b08a..62cd523 100644
--- a/pkg/ui/views/play_api.go
+++ b/pkg/ui/views/play_api.go
@@ -111,8 +111,6 @@ func (m *PlayModel) newGameCallback() tea.Cmd {
}
ip := p2p.GetOutboundIP().String()
- // FIXME: ip
- ip = "0.0.0.0"
// Prepare request payload
payload, err := json.Marshal(map[string]string{
@@ -168,8 +166,6 @@ func (m PlayModel) enterGame() tea.Cmd {
}
ip := p2p.GetOutboundIP().String()
- // FIXME: ip
- ip = "0.0.0.0"
// Prepare request payload
payload, err := json.Marshal(map[string]string{