Fix: Recorte de URL Front Para Notificaciones.

This commit is contained in:
2026-02-13 15:07:16 -03:00
parent 9a2b5a5f91
commit 0ebb2b15e5
5 changed files with 27 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ public class NotificationService : INotificationService
_emailService = emailService;
_logger = logger;
// Leemos la URL del appsettings o usamos localhost como fallback
_frontendUrl = config["AppSettings:FrontendUrl"] ?? "http://localhost:5173";
_frontendUrl = config["AppSettings:FrontendUrl"]?.Split(',')[0].Trim() ?? "http://localhost:5173";
}
private string GetEmailShell(string title, string content)