Skip to content

Commit

Permalink
HTTPリクエストのURLをローカルホストからAPIサービスに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
miutaku authored and miutaku committed Jan 24, 2025
1 parent d54b305 commit b1c7f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batch/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func task() {
fmt.Fprintf(os.Stderr, "Unable to scan row: %v\n", err)
return
}
resp, err := http.Get(fmt.Sprintf("http://localhost:8080/check-live?username=%s", name))
resp, err := http.Get(fmt.Sprintf("http://api-rec-twitcasting:8080/check-live?username=%s", name))
if err != nil {
fmt.Fprintf(os.Stderr, "HTTP request failed: %v\n", err)
return
Expand Down

0 comments on commit b1c7f0f

Please sign in to comment.