From bee6fabcfaefa2fb23e012d75310455e3c79330e Mon Sep 17 00:00:00 2001 From: Phan Huy Tran Date: Wed, 14 May 2025 11:30:40 +0200 Subject: [PATCH 1/2] fix: protect slots route --- frontend/src/app/app.routes.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index 7958ffb..a22eec9 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -30,6 +30,7 @@ export const routes: Routes = [ { path: 'game/slots', loadComponent: () => import('./feature/game/slots/slots.component'), + canActivate: [authGuard] }, { path: 'game/lootboxes', From 03bee953da7997f41bbcaa0acd993b04d60a08e4 Mon Sep 17 00:00:00 2001 From: Phan Huy Tran Date: Wed, 14 May 2025 11:45:51 +0200 Subject: [PATCH 2/2] style: prettier --- frontend/src/app/app.routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index a22eec9..86ce3d4 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -30,7 +30,7 @@ export const routes: Routes = [ { path: 'game/slots', loadComponent: () => import('./feature/game/slots/slots.component'), - canActivate: [authGuard] + canActivate: [authGuard], }, { path: 'game/lootboxes',