Skip to content

Commit

Permalink
disable rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
rayriffy committed Feb 17, 2024
1 parent c8a5a25 commit 78edbcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { model } from './models'

const app = new Elysia()
.use(cors())
.use(
/** .use(
rateLimit({
duration: 60 * 60 * 1000, // 1 hour
max: 500, // 500 req per hour
Expand All @@ -22,7 +22,7 @@ const app = new Elysia()
)
},
})
)
) */
.use(
swagger({
exclude: ['/', '/ping'],
Expand Down

0 comments on commit 78edbcd

Please sign in to comment.