Skip to content

Commit

Permalink
Fix notification address
Browse files Browse the repository at this point in the history
  • Loading branch information
ollieri3 committed Aug 11, 2024
1 parent 0894d26 commit 7999a4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ async function sendAccountConfirmationEmail(

const subject = "Confirm your Daily Do It account";
const protocol = ENV.DEPLOYMENT === "dev" ? "http" : "https";
const host = ENV.DEPLOYMENT === "dev" ? "localhost:8000" : "dailydoit.online";
const host =
ENV.DEPLOYMENT === "dev" ? "localhost:8000" : "habits.olivers.cloud";
const activateURL = `${protocol}://${host}/activate/${token}`;
await mail.send({
to: accountEmail,
Expand Down

0 comments on commit 7999a4f

Please sign in to comment.