From 5f6f91e76137d1b196488f6df890fec0fecf1c2c Mon Sep 17 00:00:00 2001 From: Sorawit Date: Sat, 2 Nov 2024 09:57:38 +0700 Subject: [PATCH] feat: env for rabbitmq url --- src/services/auth.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/auth.service.ts b/src/services/auth.service.ts index 34232be..faa80e0 100644 --- a/src/services/auth.service.ts +++ b/src/services/auth.service.ts @@ -39,11 +39,11 @@ export default class AuthService { const mailMessage: MailMessage = { to: user.email, subject: "Welcome to Drawn!", - body: "Welcome to Drawn, the best collaborative app in the world. HOHOHOHOHOHOHOHOHO", + body: "Welcome to Drawn, the drawing collaborative app. We are excited to have you on board!", } amqp.connect( - "amqp://localhost", + process.env.RABBITMQ_URL || "amqp://localhost", function (error0: Error | null, connection: Connection) { if (error0) { throw error0;