Skip to content

Commit

Permalink
MANAGE_BACKEND_HOSTのデフォルト値を更新し、録画状態更新用のURLを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
miutaku authored and miutaku committed Jan 25, 2025
1 parent 7e2e479 commit b192e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func getEnv(key, fallback string) string {
return value
}
func updateRecordingState(username string, state bool) error {
manageBackendHost := getEnv("MANAGE_BACKEND_HOST", "manage-backend")
manageBackendHost := getEnv("MANAGE_BACKEND_HOST", "manage-backend-rec-twitcasting:8080")
updateURL := fmt.Sprintf("http://%s/update-recording-state?username=%s&recording_state=%t", manageBackendHost, username, state)
resp, err := http.Get(updateURL)
if err != nil {
Expand Down

0 comments on commit b192e6d

Please sign in to comment.