NEW:allow downloading from the domain name of bblmw
jira:[import from mw] Change-Id: I75a6b2973be59e4cbafd3ddbe6cdc24c97af30cf
This commit is contained in:
parent
9920e3983e
commit
ce7c150f84
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue