fix: 调整 chat WS/WT dev 接入
WT 目前沿用 JToken 的 JWT 校验;撤销一致性留到后续 WT 专用网关设计。
This commit is contained in:
@@ -375,10 +375,12 @@ static_resources:
|
||||
timeout: 30s
|
||||
|
||||
- match:
|
||||
prefix: /api/v1/chat
|
||||
path: /ws/chat
|
||||
route:
|
||||
cluster: chat_api_cluster
|
||||
timeout: 30s
|
||||
timeout: 0s
|
||||
upgrade_configs:
|
||||
- upgrade_type: websocket
|
||||
|
||||
- match:
|
||||
path: /api/v1/upload
|
||||
@@ -597,6 +599,10 @@ static_resources:
|
||||
rules:
|
||||
- match:
|
||||
path: /healthz
|
||||
- match:
|
||||
path: /ws/chat
|
||||
requires:
|
||||
provider_name: juwan_user_jwt
|
||||
- match:
|
||||
prefix: /api/v1
|
||||
headers:
|
||||
|
||||
Reference in New Issue
Block a user