From 688bef0e8aa2e73c71e5968e4185e616c9c0a91c Mon Sep 17 00:00:00 2001 From: Stephanie Gredell Date: Sun, 30 Nov 2025 21:40:17 -0800 Subject: [PATCH] Simplify deployment: remove ingress routing, use separate component URLs --- .do/app.yaml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.do/app.yaml b/.do/app.yaml index 10a6629..508a592 100644 --- a/.do/app.yaml +++ b/.do/app.yaml @@ -1,20 +1,6 @@ name: kiddos region: nyc -# Ingress rules to route traffic properly -ingress: - rules: - - match: - path: - prefix: /api - component: - name: backend - - match: - path: - prefix: / - component: - name: frontend - # Backend Service services: - name: backend @@ -59,7 +45,7 @@ services: value: ${INITIAL_ADMIN_PASSWORD} type: SECRET - key: CORS_ORIGIN - value: ${APP_URL} + value: ${frontend.PUBLIC_URL} health_check: http_path: /api/health @@ -78,7 +64,7 @@ static_sites: envs: - key: VITE_API_URL - value: ${APP_URL}/api + value: ${backend.PUBLIC_URL}/api catchall_document: index.html