mirror of
https://github.com/cjdenio/jia.git
synced 2024-11-21 23:23:39 +00:00
change http address
This commit is contained in:
parent
7d2f5a2076
commit
6e0afaff2e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue