Commit e269b3ef authored by Ruslan Karimov's avatar Ruslan Karimov

#2543. Правки в статье блога

parent 26f73514
......@@ -376,9 +376,9 @@ class UnisenderAPI {
*/
protected function getApiHost($RetryCount = 0) {
if ($RetryCount % 2 == 0) {
return 'http://api.unisender.com/ru/api/';
return 'https://api.unisender.com/ru/api/';
} else {
return 'http://www.api.unisender.com/ru/api/';
return 'https://www.api.unisender.com/ru/api/';
}
}
}
\ No newline at end of file
......@@ -188,9 +188,9 @@ class UniSenderApi {
*/
protected function getApiHost($RetryCount = 0) {
if ($RetryCount % 2 == 0) {
return 'http://api.unisender.com/ru/api/';
return 'https://api.unisender.com/ru/api/';
} else {
return 'http://www.api.unisender.com/ru/api/';
return 'https://www.api.unisender.com/ru/api/';
}
}
public function getApiKey() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment