From 369ecb2f29f677daa3e96836ceed65a4ec85b973 Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 6 Mar 2026 05:33:56 -0800 Subject: [PATCH] feat(gateway): add Kong route for app version check endpoint Add /api/app/version route to Kong declarative config so that the Flutter app's GET /api/app/version/check?platform=¤t_version_code= request can reach version-service through the API gateway. Previously only /api/v1/versions was routed; the public check endpoint served by AppVersionCheckController was unreachable (Kong returned "no Route matched with those values"). Co-Authored-By: Claude Sonnet 4.6 --- packages/gateway/config/kong.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/gateway/config/kong.yml b/packages/gateway/config/kong.yml index 9ce0dea..43d25c1 100644 --- a/packages/gateway/config/kong.yml +++ b/packages/gateway/config/kong.yml @@ -120,6 +120,10 @@ services: paths: - /api/v1/versions strip_path: false + - name: app-version-check-route + paths: + - /api/app/version + strip_path: false - name: billing-service url: http://billing-service:3010