From b787a136699cdb6e7609b245e50429d9ea46e5c5 Mon Sep 17 00:00:00 2001 From: ExostFlash Date: Mon, 2 Jun 2025 10:36:29 +0200 Subject: [PATCH] Add @guards on the tsconfig.json --- FencerJudgeFront/src/app/app-routing.module.ts | 2 +- FencerJudgeFront/tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/FencerJudgeFront/src/app/app-routing.module.ts b/FencerJudgeFront/src/app/app-routing.module.ts index 45896b5..0f8009a 100644 --- a/FencerJudgeFront/src/app/app-routing.module.ts +++ b/FencerJudgeFront/src/app/app-routing.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; -import { authGuard } from './guards/auth.guard'; +import { authGuard } from '@guards/auth.guard'; import { LoginComponent } from './components/essentials/login/login.component'; import { HomeComponent } from './components/home/home.component'; diff --git a/FencerJudgeFront/tsconfig.json b/FencerJudgeFront/tsconfig.json index 06d41df..fca3db7 100644 --- a/FencerJudgeFront/tsconfig.json +++ b/FencerJudgeFront/tsconfig.json @@ -21,6 +21,7 @@ "paths": { "@interfaces/*": ["app/interfaces/*"], "@services/*": ["app/services/*"], + "@guards/*": ["app/guards/*"], "@utils/*": ["app/utils/*"] } },