enhance(backend): APIパラメータサイズ上限を32kbから128kbに緩和

Fix #10574
This commit is contained in:
syuilo 2023-04-11 14:27:09 +09:00
parent 92356d02b9
commit 59ca0d21a1
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@
- iPhoneでウィジェットドロワーの「ウィジェットを編集」が押しにくい問題を修正
### Server
- APIパラメータサイズ上限を32kbから128kbに緩和
- プッシュ通知送信時のパフォーマンスを改善
- ローカルのカスタム絵文字のキャッシュが効いていなかった問題を修正
- アンテナのノート、チャンネルのノート、通知が正常に作成できないことがある問題を修正

View File

@ -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();