Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions frontend/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion frontend/admin/callingPush.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function CallingPushAdmin() {
</p>
</div>
<div style={{ display: 'flex', gap: 14 }}>
<a href="/admin/calling" style={{ textDecoration: 'none', fontWeight: 700 }}>
<a href="/admin/calling.html" style={{ textDecoration: 'none', fontWeight: 700 }}>
← Calling
</a>
<a href="/admin" style={{ textDecoration: 'none', fontWeight: 700 }}>
Expand Down
8 changes: 4 additions & 4 deletions frontend/admin/sidebarTools.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Loading