Skip to content

Commit

Permalink
fix(pages): force to check the full path for the empty route home page
Browse files Browse the repository at this point in the history
and set use hash to false
  • Loading branch information
roedoejet committed May 2, 2024
1 parent 22fcc84 commit 0ce0404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/studio-web/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { EditorComponent } from "./editor/editor.component";
const routes: Routes = [
{
path: "",
pathMatch: "full",
component: StudioComponent,
},
{
Expand All @@ -24,7 +25,7 @@ const routes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes, { useHash: false })],
exports: [RouterModule],
})
export class AppRoutingModule {}

0 comments on commit 0ce0404

Please sign in to comment.