Skip to content

Commit 3374282

Browse files
committed
Revert "using astro config"
This reverts commit 0fbb21b.
1 parent 0fbb21b commit 3374282

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

astro.config.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@ import { config } from 'dotenv'
22
import { defineConfig } from 'astro/config'
33
import vercel from '@astrojs/vercel/serverless'
44

5-
// eslint-disable-next-line functional/no-expression-statements
65
config()
76

87
export default defineConfig({
98
server: {
109
port: 3000,
1110
},
1211
output: 'server',
13-
adapter: vercel({
14-
maxDuration: 300,
15-
}),
12+
adapter: vercel(),
1613
})

vercel.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"functions": {
3+
"src/pages/api/send-transactions/AchievementsSBT/*": {
4+
"maxDuration": 300
5+
}
6+
}
7+
}

0 commit comments

Comments
 (0)