change cloud url

This commit is contained in:
2017-12-23 13:57:43 +00:00
parent 0a3363fb13
commit 01370642a1
3 changed files with 17 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ void NodeDialogCloud::load_thumbs_thread()
{
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &res);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, curl_data_handler);
curl_easy_setopt(curl, CURLOPT_URL, "http://omigamedev.ddns.net:8080/panoview/cloud-list.php");
curl_easy_setopt(curl, CURLOPT_URL, "http://omigamedev.com/panopainter/cloud/cloud-list.php");
auto err = curl_easy_perform(curl);
if (err != CURLE_OK)
{
@@ -75,7 +75,7 @@ void NodeDialogCloud::load_thumbs_thread()
for (const auto& n : names)
{
res.clear();
std::string url = "http://omigamedev.ddns.net:8080/panoview/cloud-info.php?file=" + n;
std::string url = "http://omigamedev.com/panopainter/cloud/cloud-info.php?file=" + n;
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
auto err = curl_easy_perform(curl);
if (err != CURLE_OK)