diff --git a/src/config/routes.tsx b/src/config/routes.tsx
index 50ae028..ed9d03b 100644
--- a/src/config/routes.tsx
+++ b/src/config/routes.tsx
@@ -8,7 +8,7 @@ const router = createBrowserRouter([
element: ,
},
{
- path: '/browse-files/:password?/*',
+ path: '/browse-files/:password/*?',
element: ,
},
]);
diff --git a/vercel.json b/vercel.json
new file mode 100644
index 0000000..9fab5f6
--- /dev/null
+++ b/vercel.json
@@ -0,0 +1,8 @@
+{
+ "rewrites": [
+ {
+ "source": "/browse-files/(.*)",
+ "destination": "/"
+ }
+ ]
+}