zhizhijie
2026-09-16 0d2a5fc482ba7ffaaefa6276e2475727e7160753
traffic-audit-server/src/main/resources/application.yml.example
@@ -70,7 +70,9 @@
# Behavior captcha on login. Set to false to skip verification during test phase; enable before production release.
app:
  cors:
    # 允许跨域访问接口的来源(逗号分隔)
    allowed-origins: http://localhost:8080,http://127.0.0.1:8080
    # 允许跨域访问接口的来源(逗号分隔,支持 * 通配主机与端口):
    # 浏览器 POST/PUT/DELETE 必带 Origin(GET 不带),故用 IP/域名打开页面时该来源必须命中此列表,否则 403。
    # 默认放行本机与内网网段;若通过域名访问,请把该域名(含端口)追加到此处。
    allowed-origins: http://localhost:*,http://127.0.0.1:*,http://192.168.*:*,http://10.*:*,http://172.*:*
  captcha:
    required: false