diff --git a/ui/vercel.json b/ui/vercel.json index 0cc915d1..7d11d9bc 100644 --- a/ui/vercel.json +++ b/ui/vercel.json @@ -1,8 +1,15 @@ { + "framework": null, + "buildCommand": "bun run build", + "outputDirectory": ".output/public", "rewrites": [ { "source": "/dashboard/api/:path*", "destination": "https://open-swe-v3-f2834ffc0df05a46a10262a9690e8490.us.langgraph.app/dashboard/api/:path*" + }, + { + "source": "/(.*)", + "destination": "/_shell.html" } ] } diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 22d85188..7a1fcfa0 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -15,7 +15,7 @@ const config = defineConfig({ projects: ["./tsconfig.json"], }), tailwindcss(), - tanstackStart(), + tanstackStart({ spa: { enabled: true } }), viteReact(), ], })