diff --git a/vercel.json b/vercel.json index c0e6beb1..13fe6b6b 100644 --- a/vercel.json +++ b/vercel.json @@ -34,18 +34,7 @@ "permanent": true } ], - "rewrites": [ - { "source": "/", "destination": "/index.html" }, - { "source": "/login", "destination": "/index.html" }, - { "source": "/login/:path*", "destination": "/index.html" }, - { "source": "/dashboard", "destination": "/index.html" }, - { "source": "/dashboard/:path*", "destination": "/index.html" }, - { "source": "/profile", "destination": "/index.html" }, - { "source": "/profile/:path*", "destination": "/index.html" }, - { "source": "/admin", "destination": "/index.html" }, - { "source": "/admin/:path*", "destination": "/index.html" }, - { "source": "/:path([^.]+)/?$", "destination": "/index.html" } - ], + "cleanUrls": true, "headers": [ { "source": "/assets/(.*)",