aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/app-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/app/app-routing.module.ts')
-rw-r--r--frontend/src/app/app-routing.module.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts
index d053a9a5..9ce08a8f 100644
--- a/frontend/src/app/app-routing.module.ts
+++ b/frontend/src/app/app-routing.module.ts
@@ -7,10 +7,11 @@ import { OnlyAuthorizedComponent } from './_pages/only-authorized/only-authorize
import { RegisterPageComponent } from './_pages/register-page/register-page.component';
import { AddModelComponent } from './_pages/add-model/add-model.component';
import { LoginModalComponent } from './_modals/login-modal/login-modal.component';
+import { HomeComponent } from './_pages/home/home.component';
import { RegisterModalComponent } from './_modals/register-modal/register-modal.component';
const routes: Routes = [
- { path: '', redirectTo: '/login', pathMatch: 'full' },
+ { path: '', component: HomeComponent },
{ path: 'login', component: LoginPageComponent },
{ path: 'register', component: RegisterPageComponent },
{ path: 'only-authorized', component: OnlyAuthorizedComponent, canActivate: [AuthGuardService] },