Skip to content

Commit

Permalink
Merge pull request #2 from msqtt/main
Browse files Browse the repository at this point in the history
💩  Fix: vercel deploy error
  • Loading branch information
TaskManagerOL authored Nov 29, 2023
2 parents 7bfd8d9 + 92a0e5d commit a31849d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/router/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const routes = [
{
path: '/todolist',
name: 'List',
component: () => import('../components/List/ToDoList/KillTodo.vue'),
component: () => import('../components/List/Todolist/KillTodo.vue'),
},
{
path: '/daytodo',
Expand Down Expand Up @@ -63,4 +63,4 @@ const routes = [
component: () => import('../components/Special/404.vue'),
}
]
export default routes
export default routes
11 changes: 7 additions & 4 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"version": 2,
"redirects": [
{ "source": "/404", "statusCode": 404 }
]
"routes": [
{
"src": "/[^.]+",
"dest": "/",
"status": 200
}
]
}

1 comment on commit a31849d

@vercel
Copy link

@vercel vercel bot commented on a31849d Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.