chore(gc): Mira 白名單 email 改 env 注入(publish 前 GC,leo 2026-07-18 放行)——公開 repo 不帶個人 email;本機 .env.local 已補 NEXT_PUBLIC_MIRA_ALLOWLIST 行為不變

This commit is contained in:
uncle6me-web
2026-07-18 20:14:15 +08:00
parent fa2ecf7226
commit e1071edfe8
+2 -1
View File
@@ -42,7 +42,8 @@ export const MATRIX_APPS: AppEntry[] = [
icon: '🌊',
description: '個人化 KM 河道',
access: 'allowlist',
allowlist_emails: ['leo21c@gmail.com'],
// 白名單不寫死進 source(公開 repo 不帶個人 email);build 時由 env 注入,逗號分隔
allowlist_emails: (process.env.NEXT_PUBLIC_MIRA_ALLOWLIST ?? '').split(',').filter(Boolean),
locked_tooltip: '即將開放',
},
];