NEW:allow downloading from the domain name of bblmw

jira:[import from mw]

Change-Id: I75a6b2973be59e4cbafd3ddbe6cdc24c97af30cf
This commit is contained in:
tao wang 2024-06-04 10:11:48 +08:00 committed by Lane.Wei
parent 9920e3983e
commit ce7c150f84
1 changed files with 2 additions and 0 deletions

View File

@ -1088,6 +1088,8 @@ void GUI_App::post_init()
for (auto input_str : input_str_arr) {
if (boost::starts_with(input_str, "http://makerworld") ||
boost::starts_with(input_str, "https://makerworld") ||
boost::starts_with(input_str, "http://public-cdn.bblmw.com") ||
boost::starts_with(input_str, "https://public-cdn.bblmw.com") ||
boost::algorithm::contains(input_str, "amazonaws.com") ||
boost::algorithm::contains(input_str, "aliyuncs.com")) {
download_url = input_str;