change hardcoded shortener domain name
This commit is contained in:
parent
d4595305b4
commit
057ccada5e
@ -189,7 +189,7 @@ bool cmd::shorten_link(std::string link, context *ctx, std::function<void(std::s
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
char *escapedParam = curl_easy_escape(req, link.data(), link.size());
|
char *escapedParam = curl_easy_escape(req, link.data(), link.size());
|
||||||
std::string url("https://slavasil.ru/create?url=");
|
std::string url("https://xurl.pw/create?url=");
|
||||||
url += escapedParam;
|
url += escapedParam;
|
||||||
curl_free(escapedParam);
|
curl_free(escapedParam);
|
||||||
curl_easy_setopt(req, CURLOPT_URL, url.c_str());
|
curl_easy_setopt(req, CURLOPT_URL, url.c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user