Skip to content

Commit

Permalink
downgrade vite
Browse files Browse the repository at this point in the history
  • Loading branch information
ra0x3 committed Dec 21, 2024
1 parent 90250f1 commit bd0dab7
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 282 deletions.
8 changes: 0 additions & 8 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@
{
"source": "/api/(.*)",
"destination": "/api/app.py"
},
{
"source": "/(.*)",
"destination": "/www/libx/dist/$1"
},
{
"source": "/(.*)",
"destination": "/api/app.py"
}
]
}
2 changes: 1 addition & 1 deletion www/libx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"prettier": "3.4.1",
"typescript": "5.6.2",
"typescript-eslint": "8.15.0",
"vite": "6.0.0"
"vite": "5.0.0"
}
}
2 changes: 1 addition & 1 deletion www/libx/src/views/Index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function Index() {
if (error) {
toast.error(`Failed to download library.`);
}
}, [loading, downloadURI]);
}, [loading, downloadURI, error]);

return (
<BackgroundImg mediaURL="/assets/img/bg.webp">
Expand Down
Loading

0 comments on commit bd0dab7

Please sign in to comment.