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/ 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 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;