diff --git a/TaxBaik.Web/Program.cs b/TaxBaik.Web/Program.cs index 6ab5f40..0cc60fb 100644 --- a/TaxBaik.Web/Program.cs +++ b/TaxBaik.Web/Program.cs @@ -366,26 +366,6 @@ app.MapRazorComponents() try { Log.Information("애플리케이션 시작: {Environment}", app.Environment.EnvironmentName); - if (!app.Environment.IsDevelopment()) - { - // 배포 완료 알림을 백그라운드에서 비동기 전송 (앱 시작 블록 방지) - _ = Task.Run(async () => - { - try - { - using (var scope = app.Services.CreateScope()) - { - var telegramService = scope.ServiceProvider.GetRequiredService(); - await telegramService.SendSystemNotificationAsync( - $"✅ 배포 완료\n\n환경: {app.Environment.EnvironmentName}\n상태: 정상 운영 중"); - } - } - catch (Exception ex) - { - Log.Error(ex, "배포 완료 알림 전송 실패"); - } - }); - } app.Run(); } catch (Exception ex)