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

fix

parent e6b1ed6f
Pipeline #27906 passed with stage
in 3 minutes 28 seconds
......@@ -66,7 +66,7 @@ const { host } = window.location;
const request = extend({
errorHandler, // 默认错误处理
credentials: 'include', // 默认请求是否带上cookie
prefix: host.indexOf('com') > -1 ? '/api' : '/cms_api',
prefix: host.indexOf('com') > -1 ? '/server/api' : '/cms_api',
});
// request拦截器, 改变url 或 options.
......
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