From 6e0afaff2e6ccee4ab263432088cd9871079a371 Mon Sep 17 00:00:00 2001 From: Caleb Denio Date: Wed, 23 Dec 2020 11:01:50 -0500 Subject: [PATCH] change http address --- pkg/jia/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/jia/server.go b/pkg/jia/server.go index 8375fc9..64ecb8c 100644 --- a/pkg/jia/server.go +++ b/pkg/jia/server.go @@ -36,7 +36,7 @@ func StartServer(config *Config) { // Start receiving events http.HandleFunc("/slack/events", handleSlackEvents) http.HandleFunc("/slack/leaderboard", HandleLeaderboardSlashCommand) - http.ListenAndServe(fmt.Sprintf("127.0.0.1:%d", config.Port), nil) + http.ListenAndServe(fmt.Sprintf("0.0.0.0:%d", config.Port), nil) } func handleSlackEvents(w http.ResponseWriter, r *http.Request) {