From fd08a64a0549263bd4d50d45afab8ea7c0e14857 Mon Sep 17 00:00:00 2001 From: Tola Leng Date: Thu, 26 Jun 2025 15:43:41 +0700 Subject: [PATCH] Fix: Resolve 404 error on public status page --- application/src/App.tsx | 2 +- .../components/operational-page/OperationalPageContent.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/src/App.tsx b/application/src/App.tsx index 02a1ba1..cd62250 100644 --- a/application/src/App.tsx +++ b/application/src/App.tsx @@ -50,7 +50,7 @@ function App() { } /> } /> - } /> + } /> {/* Protected Routes */} { 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'); } };