Skip to content

Fix admin infrastructure sidebar routes across deployments - #11

Merged
smshagor-dev merged 3 commits into
mainfrom
fix/admin-db-config-sidebar
Aug 19, 2026
Merged

Fix admin infrastructure sidebar routes across deployments#11
smshagor-dev merged 3 commits into
mainfrom
fix/admin-db-config-sidebar

Conversation

@smshagor-dev

Copy link
Copy Markdown
Owner

Summary

This hardens the admin infrastructure navigation on top of the latest main, which already contains the requested admin safe-string handling and DB-backed Google/Facebook/Telegram configuration.

Changes

  • Use exact generated HTML routes for left-sidebar items:
    • Native Call Push
    • Calling & WebRTC
    • FTP Storage
    • Social Login
  • Keep the Native Call Push → Calling link on the standalone Calling page.
  • Add Apache rewrites for the four standalone admin tool routes before the generic /admin/* SPA fallback.

Why

Vercel has explicit rewrites for the extensionless admin tool paths, but Apache's generic admin SPA fallback otherwise serves admin/index.html for those same paths. Exact generated routes plus matching Apache rules make the sidebar work consistently across Vercel, Apache, and static/Node hosting.

Verified on latest main

  • Admin toLowerCase calls are build-hardened by babel.admin-safe-strings.js.
  • Social-login runtime routes use the DB-backed social-auth controller.
  • Google/Facebook/Telegram configuration is stored in the database; provider secrets are encrypted and are not sourced from provider env vars at runtime.

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deployment failed for project syncchat with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/smshagor-devs-projects?upgradeToPro=build-rate-limit

@smshagor-dev
smshagor-dev marked this pull request as ready for review August 19, 2026 07:34
@smshagor-dev
smshagor-dev merged commit bf3f279 into main Aug 19, 2026
2 of 4 checks passed
@smshagor-dev
smshagor-dev deleted the fix/admin-db-config-sidebar branch August 19, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant