ReviewOS

also looking at this

mail-os/mail

feat: mailbox recovery addresses and password reset by email

#13
Merged chris wants to merge feat/mailbox-recovery into main
21 files +1503 -10
packages/webmail/build.tsmodified+1-1
Changes to packages/webmail/build.ts
@@ -13,7 +13,7 @@ export async function buildWebmail(): Promise<void> {
1313 const dist = join(root, '../zig/src/api/webmail_dist')
1414 const styles = await readFile(join(root, 'public/styles.css'))
1515 await mkdir(dist, { recursive: true })
16 for (const page of ['index', 'login']) {
16 for (const page of ['index', 'login', 'recover']) {
1717 const html = await renderTemplate(join(root, `pages/${page}.stx`), { injectCSS: true })
1818 if (!html.includes('data-stx') || html.includes('<script client>'))
1919 throw new Error(`STX did not compile ${page}`)