From a1cb1766d2fbe6fc2f6dd1d560475a6e4a7f540b Mon Sep 17 00:00:00 2001 From: tao wang Date: Fri, 19 Jan 2024 11:34:06 +0800 Subject: [PATCH] NEW:add plugin download address jira:[for new env] Change-Id: I3b10a4ae6e54af46c15fe2e7beb5fbde8e7efe32 --- src/slic3r/GUI/GUI_App.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 74357a7c6..0b4c6d957 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -1386,6 +1386,18 @@ std::string GUI_App::get_http_url(std::string country_code, std::string path) else if (country_code == "ENV_CN_PRE") { url = "https://api-pre.bambu-lab.com/"; } + else if (country_code == "NEW_ENV_DEV_HOST") + { + url = "https://api-dev.bambulab.net/"; + } + else if (country_code == "NEW_ENV_QAT_HOST") + { + url = "https://api-qa.bambulab.net/"; + } + else if (country_code == "NEW_ENV_PRE_HOST") + { + url = "https://api-pre.bambulab.net/"; + } else { url = "https://api.bambulab.com/"; } @@ -1412,6 +1424,18 @@ std::string GUI_App::get_model_http_url(std::string country_code) else if (country_code == "ENV_CN_PRE") { url = "https://makerhub-pre.bambu-lab.com/"; } + else if (country_code == "NEW_ENV_DEV_HOST") + { + url = "https://makerhub-dev.bambulab.net/"; + } + else if (country_code == "NEW_ENV_QAT_HOST") + { + url = "https://makerhub-qa.bambulab.net/"; + } + else if (country_code == "NEW_ENV_PRE_HOST") + { + url = "https://makerhub-pre.bambulab.net/"; + } else { url = "https://makerworld.com/"; }