From 3dc0ce917650652d16c4e53e859b840628706ebf Mon Sep 17 00:00:00 2001 From: dahoud Date: Mon, 20 Oct 2025 10:34:46 +0000 Subject: [PATCH] Fix: Remove quarkus.http.root-path to fix API routing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Ingress already handles the /btpxpress path prefix with rewrite-target, so the backend should serve requests directly without a root-path. This fixes the 404 errors when accessing endpoints like: - https://api.lions.dev/btpxpress/q/health - https://api.lions.dev/btpxpress/api/* Before: Backend expected /btpxpress/q/health (due to root-path) After: Backend serves /q/health (Ingress rewrites /btpxpress/... to /...) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/main/resources/application-prod.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 07fc487..0a7fb2b 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -19,7 +19,7 @@ quarkus.hibernate-orm.log.bind-parameters=false # Serveur HTTP quarkus.http.port=${SERVER_PORT:8080} quarkus.http.host=0.0.0.0 -quarkus.http.root-path=/btpxpress +# Note: root-path removed - Ingress handles /btpxpress routing with rewrite-target # CORS Configuration pour production quarkus.http.cors=true