Skip to content

Commit

Permalink
enhance(backend): APIパラメータサイズ上限を32kbから128kbに緩和
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored and hutchisr committed Apr 12, 2023
1 parent 129dd9d commit 9b71d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- iPhoneでウィジェットドロワーの「ウィジェットを編集」が押しにくい問題を修正

### Server
- APIパラメータサイズ上限を32kbから128kbに緩和
- プッシュ通知送信時のパフォーマンスを改善
- ローカルのカスタム絵文字のキャッシュが効いていなかった問題を修正
- アンテナのノート、チャンネルのノート、通知が正常に作成できないことがある問題を修正
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/server/api/ApiServerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class ApiServerService {
Params: { endpoint: string; },
Body: Record<string, unknown>,
Querystring: Record<string, unknown>,
}>('/' + endpoint.name, { bodyLimit: 1024 * 32 }, async (request, reply) => {
}>('/' + endpoint.name, { bodyLimit: 1024 * 128 }, async (request, reply) => {
if (request.method === 'GET' && !endpoint.meta.allowGet) {
reply.code(405);
reply.send();
Expand Down

0 comments on commit 9b71d1e

Please sign in to comment.