also looking at this
feat: mailbox recovery addresses and password reset by email
#13
21 files
+1503
-10
| @@ -13,7 +13,7 @@ export async function buildWebmail(): Promise<void> { | ||
| 13 | 13 | const dist = join(root, '../zig/src/api/webmail_dist') |
| 14 | 14 | const styles = await readFile(join(root, 'public/styles.css')) |
| 15 | 15 | await mkdir(dist, { recursive: true }) |
| 16 | for (const page of ['index', 'login']) { | |
| 16 | for (const page of ['index', 'login', 'recover']) { | |
| 17 | 17 | const html = await renderTemplate(join(root, `pages/${page}.stx`), { injectCSS: true }) |
| 18 | 18 | if (!html.includes('data-stx') || html.includes('<script client>')) |
| 19 | 19 | throw new Error(`STX did not compile ${page}`) |