From cc0b10bfa2a82914b49ff25c3fcc82a28aa2efc1 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Thu, 13 Feb 2025 12:40:37 +0100 Subject: [PATCH] Missing Connect address resolving from service config. --- src/slic3r/Utils/PrusaConnect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/Utils/PrusaConnect.cpp b/src/slic3r/Utils/PrusaConnect.cpp index 3812bc04f6..a916cd0316 100644 --- a/src/slic3r/Utils/PrusaConnect.cpp +++ b/src/slic3r/Utils/PrusaConnect.cpp @@ -120,7 +120,8 @@ bool PrusaConnectNew::upload(PrintHostUpload upload_data, ProgressFn progress_fn std::string json = GUI::format(upload_data.data_json, "", "1"); boost::property_tree::ptree ptree; const std::string printer_uuid = GUI::UserAccountUtils::get_keyword_from_json(ptree, json, "printer_uuid"); - wxString printer_page_url = GUI::format("https://connect.prusa3d.com/printer/%1%/dashboard", printer_uuid); + auto& sc = Utils::ServiceConfig::instance(); + wxString printer_page_url = GUI::format("%1%/printer/%2%/dashboard", sc.connect_url(), printer_uuid); info_fn(L"prusaconnect_printer_address", printer_page_url); std::string init_out;