mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 03:16:03 +08:00
FIX: support the test region codes
jira: [none] Change-Id: I087d1d5bbff4f61cfea55c53cfe49da950df5d14
This commit is contained in:
parent
8d4591d57e
commit
1735817a24
@ -1256,11 +1256,11 @@ std::string AppConfig::get_region()
|
||||
std::string sel = get("iot_environment");
|
||||
std::string region;
|
||||
if (sel == ENV_DEV_HOST)
|
||||
region = "ENV_CN_DEV";
|
||||
region = "NEW_ENV_DEV_HOST";
|
||||
else if (sel == ENV_QAT_HOST)
|
||||
region = "ENV_CN_QA";
|
||||
region = "NEW_ENV_QAT_HOST";
|
||||
else if (sel == ENV_PRE_HOST)
|
||||
region = "ENV_CN_PRE";
|
||||
region = "NEW_ENV_PRE_HOST";
|
||||
if (region.empty())
|
||||
return this->get("region");
|
||||
return region;
|
||||
|
Loading…
x
Reference in New Issue
Block a user