Add public /privacy and /support pages (App Store required URLs)

App Store submission needs a public Privacy Policy URL and Support URL, reachable
without login. Added branded, self-contained pages served at /privacy and
/support (static.js path mappings, like /home). The privacy policy accurately
describes Biz Connect: BizGaze-account login, messages/media stored on our
servers, call media via LiveKit (only recorded on explicit user action),
on-device transcription (audio never leaves the device), push via APNs/FCM, no
sale of data / no ads, retention, security, and user/GDPR rights. Contact:
support@bizgaze.com (confirm/replace if different).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-21 12:35:06 +05:30
parent 18edc5dbfb
commit a9d95ed8c6
3 changed files with 172 additions and 0 deletions
+2
View File
@@ -77,6 +77,8 @@ function serveStatic(req, res) {
if (p === '/console' || p === '/dashboard') p = '/dashboard.html';
if (p === '/share') p = '/share.html';
if (p === '/connect') p = '/connect.html';
if (p === '/privacy') p = '/privacy.html'; // App Store Privacy Policy URL (public, no login)
if (p === '/support') p = '/support.html'; // App Store Support URL (public, no login)
const fp = path.join(PUBLIC_DIR, path.normalize(p));
if (!fp.startsWith(PUBLIC_DIR)) return json(res, 403, { error: 'forbidden' });
// ETag + revalidation: the browser keeps the file cached and we answer repeat loads with a