From c24dfdf16823a7d5ca1d09bddab71b84d3afb3e6 Mon Sep 17 00:00:00 2001 From: Allen Zhang Date: Thu, 14 Nov 2024 19:28:02 +0800 Subject: [PATCH] upd --- packages/canyon-collect/vercel.json | 16 ++++++++++++++++ vercel.json | 21 --------------------- 2 files changed, 16 insertions(+), 21 deletions(-) create mode 100644 packages/canyon-collect/vercel.json delete mode 100644 vercel.json diff --git a/packages/canyon-collect/vercel.json b/packages/canyon-collect/vercel.json new file mode 100644 index 00000000..c7e8e130 --- /dev/null +++ b/packages/canyon-collect/vercel.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "builds": [ + { + "src": "src/main.ts", + "use": "@vercel/node" + } + ], + "routes": [ + { + "src": "/(.*)", + "dest": "src/main.ts", + "methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"] + } + ] + } \ No newline at end of file diff --git a/vercel.json b/vercel.json deleted file mode 100644 index bb734d01..00000000 --- a/vercel.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "version": 2, - "builds": [ - { - "src": "src/main.ts", - "use": "@vercel/node" - } - ], - "routes": [ - { - "src": "/(.*)", - "dest": "src/main.ts", - "methods": [ - "GET", - "POST", - "PUT", - "DELETE" - ] - } - ] -}