接口放行
使用方式一:配置文件
::: hcp-gateway-dev.yml
yaml
# 安全配置
security:
# 验证码
captcha:
enabled: true
type: math
# 防止XSS攻击
xss:
enabled: true
excludeUrls:
- /system/notice
# 不校验白名单
ignore:
whites:
- /auth/logout
- /auth/login
- /auth/register
- /*/v2/api-docs
- /csrf
- /job/api/callback
- /job/api/registry
- /job/api/registryRemove
- /file/documents/**
- /hcp-operator/websocket/charge/**
:::