Skip to content

Commit 6f4759a

Browse files
committed
Show tasks component on production
1 parent d7cd059 commit 6f4759a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/frontend/src/main.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ const routes = [
2121
{ path: "/faq", name: "FAQPage", component: FAQComponent },
2222
{ path: "/cnft", mame: "CNFTPage", component: CNFTComponent },
2323
{ path: "/presentation", mame: "PresentationPage", component: PresentationComponent },
24+
{ path: "/tasks", mame: "TasksPage", component: TasksComponent }
2425
];
2526

26-
if (import.meta.env.VITE_ENV === "development") {
27-
routes.push({ path: "/tasks", mame: "TasksPage", component: TasksComponent });
28-
}
27+
// if (import.meta.env.VITE_ENV === "development") {
28+
// routes.push({ path: "/tasks", mame: "TasksPage", component: TasksComponent });
29+
// }
2930

3031
const router = createRouter({
3132
history: createWebHistory(),

0 commit comments

Comments
 (0)