Reenabled deletion of Time-Entrys

This commit is contained in:
2025-12-25 19:10:36 +01:00
parent 656d39f43e
commit c6fd58a290
3 changed files with 37 additions and 7 deletions

View File

@@ -44,8 +44,8 @@ public static class MauiProgram {
//#endif
// ApiClient registrieren: SocketsHttpHandler als Primary Handler (vermeidet AndroidMessageHandler-Castfehler)
var apiOptions = new Infrastructure.ApiOptions { BaseUrl = GlobalVar.ApiUrl, Timeout = TimeSpan.FromSeconds(15) };
builder.Services.AddApiHttpClient(apiOptions);
//var apiOptions = new Infrastructure.ApiOptions { BaseUrl = GlobalVar.ApiUrl, Timeout = TimeSpan.FromSeconds(15) };
//builder.Services.AddApiHttpClient(apiOptions);
// DI: AlertService für globale Alerts (z. B. leere ApiUrl)
builder.Services.AddSingleton<IAlertService, AlertService>();