mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Add trailing slash to API urls
This commit is contained in:
parent
0ea07dc6f7
commit
1593c58a01
18
src/api.cpp
18
src/api.cpp
@ -83,15 +83,15 @@ int API::getAPIConfig()
|
||||
#ifdef DEBUG
|
||||
std::cerr << "DEBUG INFO (API::getAPIConfig)" << std::endl << root << std::endl;
|
||||
#endif
|
||||
this->config.oauth_authorize_temp_token = root["config"]["oauth_authorize_temp_token"].asString();
|
||||
this->config.oauth_get_temp_token = root["config"]["oauth_get_temp_token"].asString();
|
||||
this->config.oauth_get_token = root["config"]["oauth_get_token"].asString();
|
||||
this->config.get_user_games = root["config"]["get_user_games"].asString();
|
||||
this->config.get_user_details = root["config"]["get_user_details"].asString();
|
||||
this->config.get_installer_link = root["config"]["get_installer_link"].asString();
|
||||
this->config.get_game_details = root["config"]["get_game_details"].asString();
|
||||
this->config.get_extra_link = root["config"]["get_extra_link"].asString();
|
||||
this->config.set_app_status = root["config"]["set_app_status"].asString();
|
||||
this->config.oauth_authorize_temp_token = root["config"]["oauth_authorize_temp_token"].asString() + "/";
|
||||
this->config.oauth_get_temp_token = root["config"]["oauth_get_temp_token"].asString() + "/";
|
||||
this->config.oauth_get_token = root["config"]["oauth_get_token"].asString() + "/";
|
||||
this->config.get_user_games = root["config"]["get_user_games"].asString() + "/";
|
||||
this->config.get_user_details = root["config"]["get_user_details"].asString() + "/";
|
||||
this->config.get_installer_link = root["config"]["get_installer_link"].asString() + "/";
|
||||
this->config.get_game_details = root["config"]["get_game_details"].asString() + "/";
|
||||
this->config.get_extra_link = root["config"]["get_extra_link"].asString() + "/";
|
||||
this->config.set_app_status = root["config"]["set_app_status"].asString() + "/";
|
||||
res = 1;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user