Skip to content

Commit

Permalink
fix: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
acha-bill committed Feb 27, 2024
1 parent 7a9e9ee commit 05cbfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (s *Service) mountAPI() {

handle("/chunks", jsonhttp.MethodHandler{
"POST": web.ChainHandlers(
jsonhttp.NewMaxBodyBytesHandler(swarm.ChunkWithSpanSize),
jsonhttp.NewMaxBodyBytesHandler(swarm.SocMaxChunkSize),
web.FinalHandlerFunc(s.chunkUploadHandler),
),
})
Expand Down

0 comments on commit 05cbfae

Please sign in to comment.