From 2f0da559cd2787aad3ae085a38f6a12bcc36cab1 Mon Sep 17 00:00:00 2001 From: Shubham Kukreti <57281769+KukretiShubham@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:32:23 +0530 Subject: [PATCH 1/4] allowed vercel function pattern --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 8b1b8cab..57f3ffab 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,6 @@ { "functions": { - "src/pages/api/send-transactions/AchievementsSBT/*": { + "src/pages/api/send-transactions/**/*.ts": { "maxDuration": 300 } } From 3bd548486adca1113d0efa5ed87b22c7346b36c2 Mon Sep 17 00:00:00 2001 From: Shubham Kukreti <57281769+KukretiShubham@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:39:36 +0530 Subject: [PATCH 2/4] updated path --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 57f3ffab..548cec05 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,6 @@ { "functions": { - "src/pages/api/send-transactions/**/*.ts": { + "pages/api/send-transactions/**/*.ts": { "maxDuration": 300 } } From 48e637d080dca93ff517a229e7c6d8a42568ab96 Mon Sep 17 00:00:00 2001 From: Shubham Kukreti <57281769+KukretiShubham@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:51:13 +0530 Subject: [PATCH 3/4] updated path --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 548cec05..fcf96775 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,6 @@ { "functions": { - "pages/api/send-transactions/**/*.ts": { + "api/send-transactions/**/*.ts": { "maxDuration": 300 } } From b8df4242b599a7b94bfde84d2c2e319b054ebcc3 Mon Sep 17 00:00:00 2001 From: Shubham Kukreti <57281769+KukretiShubham@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:55:52 +0530 Subject: [PATCH 4/4] bring api/ to root --- .../api => api}/send-transactions/AchievementsSBT/[contract].ts | 0 {src/pages/api => api}/send-transactions/AchievementsSBT/abi.ts | 0 .../api => api}/send-transactions/SwapTokensAndStakeDev/abi.ts | 0 .../api => api}/send-transactions/SwapTokensAndStakeDev/index.ts | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename {src/pages/api => api}/send-transactions/AchievementsSBT/[contract].ts (100%) rename {src/pages/api => api}/send-transactions/AchievementsSBT/abi.ts (100%) rename {src/pages/api => api}/send-transactions/SwapTokensAndStakeDev/abi.ts (100%) rename {src/pages/api => api}/send-transactions/SwapTokensAndStakeDev/index.ts (100%) diff --git a/src/pages/api/send-transactions/AchievementsSBT/[contract].ts b/api/send-transactions/AchievementsSBT/[contract].ts similarity index 100% rename from src/pages/api/send-transactions/AchievementsSBT/[contract].ts rename to api/send-transactions/AchievementsSBT/[contract].ts diff --git a/src/pages/api/send-transactions/AchievementsSBT/abi.ts b/api/send-transactions/AchievementsSBT/abi.ts similarity index 100% rename from src/pages/api/send-transactions/AchievementsSBT/abi.ts rename to api/send-transactions/AchievementsSBT/abi.ts diff --git a/src/pages/api/send-transactions/SwapTokensAndStakeDev/abi.ts b/api/send-transactions/SwapTokensAndStakeDev/abi.ts similarity index 100% rename from src/pages/api/send-transactions/SwapTokensAndStakeDev/abi.ts rename to api/send-transactions/SwapTokensAndStakeDev/abi.ts diff --git a/src/pages/api/send-transactions/SwapTokensAndStakeDev/index.ts b/api/send-transactions/SwapTokensAndStakeDev/index.ts similarity index 100% rename from src/pages/api/send-transactions/SwapTokensAndStakeDev/index.ts rename to api/send-transactions/SwapTokensAndStakeDev/index.ts