Commit a2dbffc6 authored by lixiang's avatar lixiang

init

parent 2379b3c3
...@@ -29,9 +29,13 @@ switch (process.env.REACT_APP_ENV) { ...@@ -29,9 +29,13 @@ switch (process.env.REACT_APP_ENV) {
BACKEND_API_URI_PREFIX = "https://www.cloudam.io"; BACKEND_API_URI_PREFIX = "https://www.cloudam.io";
break; break;
default: default:
if (["bkunyun.com"].includes(window.location.host)) { if (["www.bkunyun.com"].includes(window.location.host)) {
BACKEND_API_URI_PREFIX = "https://www.bkunyun.com"; BACKEND_API_URI_PREFIX = "https://www.bkunyun.com";
} else { }
else if (["www.cloudam.cn"].includes(window.location.host)) {
BACKEND_API_URI_PREFIX = "https://www.cloudam.cn";
}
else {
BACKEND_API_URI_PREFIX = "http://47.75.104.171"; BACKEND_API_URI_PREFIX = "http://47.75.104.171";
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment