From 33db9f229e10f7d2938a4dafde64598d43712de3 Mon Sep 17 00:00:00 2001 From: Shahanur Islam Shagor Date: Wed, 19 Aug 2026 10:30:08 +0300 Subject: [PATCH 1/3] fix: use exact admin tool HTML routes --- frontend/admin/sidebarTools.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/admin/sidebarTools.js b/frontend/admin/sidebarTools.js index b79cb28f..e3319acd 100644 --- a/frontend/admin/sidebarTools.js +++ b/frontend/admin/sidebarTools.js @@ -1,8 +1,8 @@ const TOOL_LINKS = [ - { label: 'Native Call Push', href: '/admin/calling-push' }, - { label: 'Calling & WebRTC', href: '/admin/calling' }, - { label: 'FTP Storage', href: '/admin/storage' }, - { label: 'Social Login', href: '/admin/social-auth' }, + { label: 'Native Call Push', href: '/admin/calling-push.html' }, + { label: 'Calling & WebRTC', href: '/admin/calling.html' }, + { label: 'FTP Storage', href: '/admin/storage.html' }, + { label: 'Social Login', href: '/admin/social-auth.html' }, ]; let observer = null; From 876d777eb76a6a9bb02d2fd64415e7aeb4fff4d2 Mon Sep 17 00:00:00 2001 From: Shahanur Islam Shagor Date: Wed, 19 Aug 2026 10:30:51 +0300 Subject: [PATCH 2/3] fix: keep native push navigation on generated admin page --- frontend/admin/callingPush.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/admin/callingPush.jsx b/frontend/admin/callingPush.jsx index 48a6321f..4b75da10 100644 --- a/frontend/admin/callingPush.jsx +++ b/frontend/admin/callingPush.jsx @@ -199,7 +199,7 @@ function CallingPushAdmin() {

- + ← Calling From 18380e0a92725265462a11d8597e130090678719 Mon Sep 17 00:00:00 2001 From: Shahanur Islam Shagor Date: Wed, 19 Aug 2026 10:31:06 +0300 Subject: [PATCH 3/3] fix: route standalone admin tools correctly on Apache --- frontend/.htaccess | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/.htaccess b/frontend/.htaccess index 0e9fe4fe..b6275ebb 100644 --- a/frontend/.htaccess +++ b/frontend/.htaccess @@ -3,6 +3,16 @@ RewriteEngine On # If Apache is serving this repository root, route public web requests # to the generated frontend assets under client/public. +# Standalone admin tool pages. Keep these before the generic admin SPA rule. +RewriteCond %{REQUEST_URI} !^/client/public/ +RewriteRule ^admin/storage/?$ client/public/admin/storage.html [L] +RewriteCond %{REQUEST_URI} !^/client/public/ +RewriteRule ^admin/calling/?$ client/public/admin/calling.html [L] +RewriteCond %{REQUEST_URI} !^/client/public/ +RewriteRule ^admin/calling-push/?$ client/public/admin/calling-push.html [L] +RewriteCond %{REQUEST_URI} !^/client/public/ +RewriteRule ^admin/social-auth/?$ client/public/admin/social-auth.html [L] + # Admin subdomain SPA entry. RewriteCond %{HTTP_HOST} ^admin\. [NC] RewriteCond %{REQUEST_URI} !^/client/public/