From 5b6ed5cf167601e09d81e4645e3996ff2bcf19fc Mon Sep 17 00:00:00 2001 From: JulianAlcala Date: Fri, 17 Apr 2026 11:13:40 +0200 Subject: [PATCH] fix(config): swap production apiBaseUrl and apiOrigin back to correct hosts The two fields had been flipped, pointing API calls at the origin host (platform.savefamily.app) and sending the Origin header as the gateway host (api-platform.savefamily.app). Restore the intended wiring: gateway handles /api, and Origin is the platform domain. --- apps/mobile_app/config/production.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile_app/config/production.json b/apps/mobile_app/config/production.json index 797b396a..f646603f 100644 --- a/apps/mobile_app/config/production.json +++ b/apps/mobile_app/config/production.json @@ -1,6 +1,6 @@ { "env": "production", - "apiBaseUrl": "https://platform.savefamily.app/gateway/api/", - "apiOrigin": "https://api-platform.savefamily.app/", + "apiBaseUrl": "https://api-platform.savefamily.app/gateway/api/", + "apiOrigin": "https://platform.savefamily.app", "wsUrl": "wss://api-platform.savefamily.app/websocket" } \ No newline at end of file