Skip to content

Commit

Permalink
add new route required auth
Browse files Browse the repository at this point in the history
  • Loading branch information
laihuyha committed Feb 16, 2024
1 parent ffcbfc5 commit 262e969
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/web-app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 262e969

Please sign in to comment.