From f93bb08d4146d40cce29b0de1f0724085e3b40e9 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Thu, 14 Nov 2024 17:36:18 +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 00000000..b650a065 --- /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/dist/main.js", + "methods": [ + "GET", + "POST", + "PUT", + "DELETE" + ] + } + ] +}