From 8a6cb0da406db5615e7f8a06a45d6cb1ff03c3a5 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Fri, 15 Nov 2024 00:35:15 +0800 Subject: [PATCH] stdout5 --- vercel.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..1199f3a --- /dev/null +++ b/vercel.json @@ -0,0 +1,21 @@ +{ + "version": 2, + "builds": [ + { + "src": "packages/canyon-collect/src/main.ts", + "use": "@vercel/node" + } + ], + "routes": [ + { + "src": "/(.*)", + "dest": "packages/canyon-collect/src/main.ts", + "methods": [ + "GET", + "POST", + "PUT", + "DELETE" + ] + } + ] +}