Commit 78f7c228 by Nakarin Luankla

เอาใส่คืน #

parent 5e43aa84
......@@ -29,7 +29,7 @@ const routes: Routes = [
];
@NgModule({
imports: [RouterModule.forRoot(routes, { initialNavigation: 'enabledNonBlocking', useHash: false })],
imports: [RouterModule.forRoot(routes, { initialNavigation: 'enabledNonBlocking', useHash: true })],
exports: [RouterModule]
})
export class AppRoutingModule {
......
......@@ -21,12 +21,6 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap" rel="stylesheet">
<script>
// Redirect unknown paths to the root for Angular to handle
if (!location.pathname.startsWith('/assets') && !location.pathname.endsWith('.js')) {
history.replaceState({}, '', '/');
}
</script>
</head>
<body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment