4 Commits

Author SHA1 Message Date
0xcathiefish 7962415d56 Fixed email restriction. 2026-04-06 08:16:23 +00:00
0xcathiefish 59c65446f9 Remove hardcode of email restriction. 2026-04-06 08:14:49 +00:00
0xcathiefish 619391f87a Add build.sh for Cloudflare Pages env-based config injection
- Add build.sh that generates auth-config.js from environment variables
  (API_BASE_URL, GOOGLE_CLIENT_ID, ALLOWED_EMAILS) at build time
- Move email whitelist from hardcoded login.html to window.ALLOWED_EMAILS
  in auth-config.js, so it can be configured via env vars
- Reset auth-config.js to placeholder defaults in repo
- Update README.md and README_CN.md deployment docs for both options

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:47:52 +00:00
0xcathiefish 83551d9b4d Add build.sh for Cloudflare Pages env-based config injection
- Add build.sh that generates auth-config.js from environment variables
  (API_BASE_URL, GOOGLE_CLIENT_ID, ALLOWED_EMAILS) at build time
- Move email whitelist from hardcoded login.html to window.ALLOWED_EMAILS
  in auth-config.js, so it can be configured via env vars
- Reset auth-config.js to placeholder defaults in repo
- Update README.md and README_CN.md deployment docs for both options

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:45:33 +00:00