mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
use new mail service in dashboard
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import mongoose from "mongoose";
|
||||
import { Redis } from "~/server/services/CacheService";
|
||||
// import EmailService from '@services/EmailService';
|
||||
import StripeService from '~/server/services/StripeService';
|
||||
import { logger } from "./Logger";
|
||||
|
||||
@@ -14,12 +13,6 @@ export default async () => {
|
||||
|
||||
logger.info('[SERVER] Initializing');
|
||||
|
||||
// if (config.EMAIL_SERVICE) {
|
||||
// EmailService.init(config.BREVO_API_KEY);
|
||||
// logger.info('[EMAIL] Initialized');
|
||||
// }
|
||||
|
||||
|
||||
if (config.STRIPE_SECRET) {
|
||||
StripeService.init(config.STRIPE_SECRET, config.STRIPE_WH_SECRET, false);
|
||||
logger.info('[STRIPE] Initialized');
|
||||
@@ -41,13 +34,8 @@ export default async () => {
|
||||
|
||||
logger.info('[SERVER] Completed');
|
||||
|
||||
logger.warn('[ANOMALY LOOP] Disabled');
|
||||
|
||||
|
||||
logger.warn(`[SELFHOSTED_SERVER] ${config.SELFHOSTED}`);
|
||||
logger.warn(`[SELFHOSTED_CLIENT] ${config.public.SELFHOSTED}`);
|
||||
logger.warn(`[AUTH] ${config.public.AUTH_MODE}`);
|
||||
|
||||
// anomalyLoop();
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user