myheats

Live heats, scoring and leaderboard for sport events
git clone https://git.in0rdr.ch/myheats.git
Log | Files | Refs | Pull requests | README | LICENSE

commit 05a58995cfbc57b0865270b82468d00fbf93a467
parent d822a31794db149a14e074388fbab1a056df1204
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Wed, 18 Sep 2024 22:26:03 +0200

fix(magic): html link

Diffstat:
Msrc/api/server.cjs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/api/server.cjs b/src/api/server.cjs @@ -171,7 +171,8 @@ const server = http.createServer(async (req, res) => { from: process.env.SMTP_FROM, to: user.email, subject: 'MyHeats Magic Link', - text: `Click here ✨ to log in: ${magic_link}`, + //text: `Click here ✨ to log in: ${magic_link}`, + html: `Click <a href="${magic_link}">here</a> ✨ to log in.`, }) res.end(JSON.stringify({