Fix: Remove quarkus.http.root-path to fix API routing
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 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ quarkus.hibernate-orm.log.bind-parameters=false
|
|||||||
# Serveur HTTP
|
# Serveur HTTP
|
||||||
quarkus.http.port=${SERVER_PORT:8080}
|
quarkus.http.port=${SERVER_PORT:8080}
|
||||||
quarkus.http.host=0.0.0.0
|
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
|
# CORS Configuration pour production
|
||||||
quarkus.http.cors=true
|
quarkus.http.cors=true
|
||||||
|
|||||||
Reference in New Issue
Block a user