From 262e969fa0532432c85a5f4c0285000b3d09d925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Huy=20H=C3=A0?= Date: Fri, 16 Feb 2024 21:13:29 +0700 Subject: [PATCH] add new route required auth --- frontend/web-app/routes.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/web-app/routes.ts b/frontend/web-app/routes.ts index f89a573..ef50fdf 100644 --- a/frontend/web-app/routes.ts +++ b/frontend/web-app/routes.ts @@ -9,7 +9,11 @@ export const publicRoutes: string[] = ["/"]; * These routes will redirect to the login page first if not authenticated * @type {string[]} */ -export const authRoutes: string[] = ["/session"]; +export const authRoutes: string[] = [ + "/session", + "/auctions/create", + "/auctions/update", +]; /** * The prefix of the API routes