### feat: aktualisiere Netzwerk-URLs und vereinfachte Online-Nennung

- **PlatformConfig:** Passe Standard-URLs für lokale Dienste an (`8092` statt `8083/8085`).
- **OnlineNennungFormular:** Entferne zusätzliche Felder und vereinfachere Validierungslogik.
- **OnlineNennungViewModel:** Ersetze HttpClient-Logik durch Repository-Injektion.
- **DI:** Aktualisiere Dependencies für `NennungRemoteRepository`.
This commit is contained in:
2026-04-22 16:22:49 +02:00
parent 255343145d
commit 8b44edda90
5 changed files with 84 additions and 306 deletions
@@ -13,7 +13,7 @@ actual object PlatformConfig {
actual fun resolveMailServiceUrl(): String {
val env = System.getenv("MAIL_SERVICE_URL")?.trim().orEmpty()
if (env.isNotEmpty()) return env.removeSuffix("/")
return "http://localhost:8083"
return "http://localhost:8092"
}
actual fun resolveKeycloakUrl(): String {
@@ -9,7 +9,7 @@ actual object PlatformConfig {
actual fun resolveMailServiceUrl(): String {
val fromGlobal = getGlobalMailServiceUrl()
if (fromGlobal.isNotEmpty()) return fromGlobal.removeSuffix("/")
return "http://localhost:8085"
return "http://localhost:8092"
}
actual fun resolveKeycloakUrl(): String {