fix(http): default upload max size

This commit is contained in:
wpetit 2023-02-17 22:25:23 +01:00
parent 19cd4d56e7
commit a13dfffd5c
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}