Bastian Wagner 1288f5fc60 fix(mail): resolve templates from __dirname so they exist in the built image
The Docker runtime image only ships dist/, but mail-config.service.ts
pointed at src/mail/mail-templates and nest-cli.json never copied the
.hbs files into dist/ either. This was silently masked before because
the return-before-sendMail bug meant the path was never touched; fixing
that bug now surfaces it as a hard crash on boot (readFileSync throwing
synchronously inside the MailerModule factory). Resolve the templates
dir from __dirname instead, which is correct in both dev (src/mail) and
the compiled image (dist/mail), and add the mail-templates .hbs files
to nest-cli.json's asset copy list so they actually land in dist/.
2026-08-01 09:27:44 +02:00
2026-07-31 21:02:47 +02:00
css
2026-07-31 22:34:52 +02:00
2026-07-31 21:02:47 +02:00
2026-07-31 22:01:09 +02:00
2026-07-31 21:20:16 +02:00
Description
No description provided
8.7 MiB
Languages
TypeScript 88.2%
HTML 7.1%
SCSS 3.7%
Shell 0.6%
Handlebars 0.3%
Other 0.1%