Initial commit v1

This commit is contained in:
Rolf
2026-03-18 12:37:17 +01:00
commit 4897d3003f
55 changed files with 14241 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/**
* Returns true if the given email matches the configured admin email.
* The admin email is set via ADMIN_EMAIL environment variable.
*/
export function isAdminEmail(email: string | undefined): boolean {
if (!email) return false
return email.toLowerCase() === process.env.ADMIN_EMAIL?.toLowerCase()
}