Fix: Resolve 404 error on public status page

This commit is contained in:
Tola Leng
2025-06-26 15:43:41 +07:00
parent c30bcf9e73
commit fd08a64a05
2 changed files with 3 additions and 3 deletions
@@ -39,8 +39,8 @@ export const OperationalPageContent = () => {
if (page.custom_domain) {
window.open(`https://${page.custom_domain}`, '_blank');
} else {
// Navigate to the public status page route
window.open(`/status/${page.slug}`, '_blank');
// Navigate to the public status page route using the correct format
window.open(`/public/${page.slug}`, '_blank');
}
};