diff --git a/app/api/webhooks/mail-signal/route.ts b/app/api/webhooks/mail-signal/route.ts index fc5ad06..25bcccc 100644 --- a/app/api/webhooks/mail-signal/route.ts +++ b/app/api/webhooks/mail-signal/route.ts @@ -4,7 +4,7 @@ import { getLatestEmail } from '@/lib/mail'; import { sendTelegramNotification } from '@/lib/notifications'; // Bu kısım normalde .env içinde olmalı -const WEBHOOK_SECRET = 'besiktasK1903*'; +const WEBHOOK_SECRET = process.env.WEBHOOK_SIGNAL_SECRET || 'besiktasK1903*'; const IMAP_PASSWORD = process.env.MAILCOW_MASTER_PASSWORD || ''; // Dovecot Master Password tavsiye edilir // RFC 2047 Decode Fonksiyonu