Skip to content

Commit

Permalink
feat: env for rabbitmq url
Browse files Browse the repository at this point in the history
  • Loading branch information
pineylilly committed Nov 2, 2024
1 parent 39b916a commit 5f6f91e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5f6f91e

Please sign in to comment.