Everything seems to be working fine on the website and navigation between pages is smooth without any problems. However, an issue arises when I try to refresh the home page, causing the website to break and display the following message:
{"seek":"21598","duration":"1:00:08"}
I'm puzzled as to what could be triggering this problem, especially since it doesn't occur on any other page.
You can access the website by clicking HERE
Here is a glimpse of my app-routing configuration:
const routes: Routes = [
{path: '', redirectTo: '/home', pathMatch: 'full'},
{path: 'home', component: HomeComponent},
*** Other Routing
{path: '**', redirectTo: '/home', pathMatch: 'full'}
];
The contents of my .htaccess file are outlined below:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(.*) /index.html [NC,L]