私有化部署时客户使用自定义域名,原硬编码的 *.xuqinmin.com 白名单 导致 WebSocket 握手和跨域请求被 Spring Security CORS 过滤器拒绝(426/403)。 检测 DEPLOYMENT_MODE=PRIVATE 环境变量,私有化模式下允许所有 Origin。 影响范围:im-service / file-service / license-service / update-service。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||