Commit b19047b3 authored by Administrator's avatar Administrator

Merge branch 'hotfix-nginx-init' into 'master'

init

See merge request !3
parents a4eaffe8 a2dbffc6
...@@ -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