diff --git a/geddes/k8s/04-ingress.yaml b/geddes/k8s/04-ingress.yaml index 70bab7f..896235f 100644 --- a/geddes/k8s/04-ingress.yaml +++ b/geddes/k8s/04-ingress.yaml @@ -51,6 +51,15 @@ spec: port: number: 3000 + # 3c. /api/assistant goes to the Next.js AI assistant route + - path: /api/assistant + pathType: Prefix + backend: + service: + name: dt-web + port: + number: 3000 + # 4. Next longest match: /api goes to FastAPI # FastAPI is natively configured to handle /api routes so no rewrite is needed! - path: /api