diff --git a/server/vercel.json b/server/vercel.json index 136e3361..cb80f67a 100644 --- a/server/vercel.json +++ b/server/vercel.json @@ -2,7 +2,11 @@ "version": 2, "builds": [ { - "src": "/api/index.ts", + "src": "*.html", + "use": "@vercel/static" + }, + { + "src": "*.ts", "use": "@vercel/node" } ], @@ -13,7 +17,7 @@ }, { "source": "/:path*", - "destination": "/api/index.js" + "destination": "/api/index.ts" } ] }