Move webhook secret to .env for better security
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user