Skip to content

Open-source status page, incident response and uptime monitoring

trying to fix email (#1706)

Thibault Le Ouay363948fbe965
diff --git a/apps/server/bunfig.toml b/apps/server/bunfig.toml
new file mode 100644
index 000000000..e69de29bb
diff --git a/packages/emails/src/client.tsx b/packages/emails/src/client.tsx
index 778180781..3bfbd0853 100644
--- a/packages/emails/src/client.tsx
+++ b/packages/emails/src/client.tsx
@@ -99,7 +99,7 @@ export class EmailClient {
return;
}
- const html = await render(<StatusReportEmail {...req} />);
+ // const html = await render(<StatusReportEmail {...req} />);
for (const recipients of chunk(req.to, 100)) {
const sendEmail = Effect.tryPromise({
@@ -109,7 +109,8 @@ export class EmailClient {
from: `${req.pageTitle} <[email protected]>`,
subject: req.reportTitle,
to: subscriber,
- html,
+ // html,
+ react: <StatusReportEmail {...req} />,
})),
),
catch: (_unknown) =>