email - just another attempt!
MODIFY
src/assets/email/mjml-components/email_header.mjml
src/assets/email/mjml-components/email_header.mjml
<mj-section padding-top="40px">
<mj-column width="40%">
- <mj-image href="{{evseDashboardURL}}" alt="" src="{{tenantLogoURL}}"></mj-image>
+ <mj-image href="{{evseDashboardURL}}" alt="{{tenantName}} - logo" src="{{tenantLogoURL}}"></mj-image>
</mj-column>
</mj-section>
<mj-section>

MODIFY
src/server/rest/v1/service/TenantService.ts
src/server/rest/v1/service/TenantService.ts
@@ -124,8 +124,10 @@ export default class TenantService {
encoding = logoContent.substring(logoContent.indexOf(';') + 1, logoContent.indexOf(',')) as BufferEncoding;
logoContent = logoContent.substring(logoContent.indexOf(',') + 1);
}
+ const buffer = Buffer.from(logoContent, encoding);
res.setHeader('Content-Type', header);
- res.send(Buffer.from(logoContent, encoding));
+ res.setHeader('Content-Length', buffer.length);
+ res.send(buffer);
next();
}

email - just another attempt!