Run away from BTTV API.

This commit is contained in:
23rd 2018-08-26 15:41:46 +03:00
parent c7e2188582
commit cb500070f2

View file

@ -10,7 +10,7 @@ namespace chatterino {
void LinkResolver::getLinkInfo(const QString url, void LinkResolver::getLinkInfo(const QString url,
std::function<void(QString)> successCallback) std::function<void(QString)> successCallback)
{ {
QString requestUrl("https://api.betterttv.net/2/link_resolver/" + QString requestUrl("https://braize.pajlada.com/chatterino/link_resolver/" +
QUrl::toPercentEncoding(url, "", "/:")); QUrl::toPercentEncoding(url, "", "/:"));
NetworkRequest request(requestUrl); NetworkRequest request(requestUrl);