fix: use 0.0.0.0 instead of 127.0.0.0

This commit is contained in:
2025-12-27 16:29:55 -05:00
parent c681e342a0
commit fb8dc3cb90

View File

@@ -439,5 +439,5 @@ func Start(dir string) error {
}) })
fmt.Printf("Server is running on http://localhost:%d\n", *config.Port) fmt.Printf("Server is running on http://localhost:%d\n", *config.Port)
return http.ListenAndServe(fmt.Sprintf(":%d", *config.Port), nil) return http.ListenAndServe(fmt.Sprintf("0.0.0.0:%d", *config.Port), nil)
} }