Commit 66008740 authored by 成旭东's avatar 成旭东

fix

parent 70aa2400
Pipeline #27961 passed with stage
in 3 minutes 21 seconds
const { host } = window.location;
let DEFAULT_API_HOST = `https://${host}/api`;
let DEFAULT_API_HOST = `http://${host}/server/api`;
if (/^127\.0\.0\.1/.test(host) || /^localhost/.test(host) || /^192\.168\./.test(host)) {
DEFAULT_API_HOST = `http://${host}/cms_api`;
......
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