Skip to content

Commit

Permalink
Merge branch 'develop' into nyan
Browse files Browse the repository at this point in the history
  • Loading branch information
1673beta authored Jul 5, 2024
2 parents 76a9045 + e4a1e3a commit 81ff2aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG_engawa.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
### Server
- 管理者アカウントを別サーバーに移行できるように
- APIドキュメントをRedocからscalarにして軽量化
- fix: OAuthにレートリミットがかかっていない問題
- fix: SQLエスケープが不完全な問題

### Misc

Expand Down
3 changes: 2 additions & 1 deletion packages/backend/src/server/oauth/OAuth2ProviderService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ export class OAuth2ProviderService {
},
});

fastify.register(rateLimit, {

await fastify.register(rateLimit, {
max: 100,
timeWindow: '1 hour'
});
Expand Down

0 comments on commit 81ff2aa

Please sign in to comment.