Skip to content

Commit

Permalink
Add role(srs) to query versions
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jul 6, 2021
1 parent a88eb52 commit 67ebd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_latest_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ srs_error_t SrsLatestVersion::query_latest_version()
stringstream ss;
ss << "http://api.ossrs.net/service/v1/releases?"
<< "version=v" << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_REVISION
<< "&id=" << server_id_
<< "&id=" << server_id_ << "&role=srs"
<< "&eip=" << srs_get_public_internet_address()
<< "&ts=" << srsu2ms(srs_get_system_time());
string url = ss.str();
Expand Down

0 comments on commit 67ebd08

Please sign in to comment.