fix: Correction des ports frontend/backend

- Frontend: port 8080 (au lieu de 8081)
- Backend: port 8081
- Mise à jour de l'URL backend dans le frontend (8081)
- Correction des CORS pour inclure les deux ports

Résolution du conflit de ports qui empêchait le backend de démarrer.
This commit is contained in:
lionsdev
2025-12-04 23:22:20 +00:00
parent ee0bd2c2da
commit 2872ac3f94
4 changed files with 172 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ quarkus.application.name=lions-user-manager-client
quarkus.application.version=1.0.0
# Configuration HTTP
quarkus.http.port=8081
quarkus.http.port=8080
quarkus.http.host=0.0.0.0
quarkus.http.root-path=/
quarkus.http.so-reuse-port=true
@@ -45,7 +45,7 @@ primefaces.AUTO_UPDATE=false
primefaces.CACHE_PROVIDER=org.primefaces.cache.DefaultCacheProvider
# Configuration Backend Lions User Manager
lions.user.manager.backend.url=${LIONS_USER_MANAGER_BACKEND_URL:http://localhost:8080}
lions.user.manager.backend.url=${LIONS_USER_MANAGER_BACKEND_URL:http://localhost:8081}
# Configuration REST Client
quarkus.rest-client."lions-user-manager-api".url=${lions.user.manager.backend.url}
@@ -82,7 +82,7 @@ quarkus.http.auth.permission.authenticated.policy=authenticated
# CORS (si nécessaire pour développement)
quarkus.http.cors=true
quarkus.http.cors.origins=${CORS_ORIGINS:http://localhost:8081,http://localhost:8086}
quarkus.http.cors.origins=${CORS_ORIGINS:http://localhost:8080,http://localhost:8081}
quarkus.http.cors.methods=GET,POST,PUT,DELETE,OPTIONS
quarkus.http.cors.headers=Accept,Authorization,Content-Type,X-Requested-With