Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dima Krasner
Sharkey
Commits
59ca0d21
Commit
59ca0d21
authored
1 year ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
enhance(backend): APIパラメータサイズ上限を32kbから128kbに緩和
Fix #10574
parent
92356d02
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
packages/backend/src/server/api/ApiServerService.ts
+1
-1
1 addition, 1 deletion
packages/backend/src/server/api/ApiServerService.ts
with
2 additions
and
1 deletion
CHANGELOG.md
+
1
−
0
View file @
59ca0d21
...
...
@@ -25,6 +25,7 @@
-
iPhoneでウィジェットドロワーの「ウィジェットを編集」が押しにくい問題を修正
### Server
-
APIパラメータサイズ上限を32kbから128kbに緩和
-
プッシュ通知送信時のパフォーマンスを改善
-
ローカルのカスタム絵文字のキャッシュが効いていなかった問題を修正
-
アンテナのノート、チャンネルのノート、通知が正常に作成できないことがある問題を修正
...
...
This diff is collapsed.
Click to expand it.
packages/backend/src/server/api/ApiServerService.ts
+
1
−
1
View file @
59ca0d21
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment