This commit is contained in:
litianxiang
2026-05-06 13:42:07 +08:00
parent 94379b9a16
commit 3b11905b55

View File

@@ -29,6 +29,12 @@ spring:
- DedupeResponseHeader=Access-Control-Allow-Origin Access-Control-Allow-Credentials
# ---------- 路由配置 ----------
routes:
# WebSocket 路由:直接透传到后端 /notification/{id}
# 注意:必须放在 aida-back 之前,确保优先匹配
- id: aida-back-websocket
uri: lb://aida-back
predicates:
- Path=/notification/**
- id: aida-back
uri: lb://aida-back
predicates:
@@ -138,7 +144,7 @@ gateway:
- /aida/api/alipay-hk/trade/notify
- /aida/api/stripe/trade/notify
# Notification
- /aida/notification/**
- /notification/**
logging:
level: