fix(http): default upload max size
This commit is contained in:
parent
19cd4d56e7
commit
a13dfffd5c
@ -26,7 +26,7 @@ func defaultHandlerOptions() *HandlerOptions {
|
||||
Bus: memory.NewBus(),
|
||||
SockJS: sockjsOptions,
|
||||
ServerModuleFactories: make([]app.ServerModuleFactory, 0),
|
||||
UploadMaxFileSize: 1024 * 10, // 10Mb
|
||||
UploadMaxFileSize: 10 << (10 * 2), // 10Mb
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user