I implemented mail templates using handlebar. Everything is working correctly, mails are sent - template and dynamic content is rendered but my images are not loading. I stored my images in static/images folder in root file and added static file setup:
ServeStaticModule.forRoot({
rootPath: join(__dirname, '..', 'static')
})
and used image in template as:
src="images/logo.svg"
I can access image through http://localhost:3000/images/logo.svg so serving static files works correctly.
What am I missing?