raise upload limit
This commit is contained in:
parent
bc7b146e91
commit
ff10f6c5eb
|
@ -36,7 +36,9 @@ func NewWebApp(
|
||||||
webmentionService *app.WebmentionService,
|
webmentionService *app.WebmentionService,
|
||||||
interactionRepo repository.InteractionRepository,
|
interactionRepo repository.InteractionRepository,
|
||||||
) *WebApp {
|
) *WebApp {
|
||||||
app := fiber.New()
|
app := fiber.New(fiber.Config{
|
||||||
|
BodyLimit: 50 * 1024 * 1024, // 50MB in bytes
|
||||||
|
})
|
||||||
app.Use(middleware.NewUserMiddleware(authorService).Handle)
|
app.Use(middleware.NewUserMiddleware(authorService).Handle)
|
||||||
|
|
||||||
indexHandler := NewIndexHandler(entryService, siteConfigService)
|
indexHandler := NewIndexHandler(entryService, siteConfigService)
|
||||||
|
|
Loading…
Reference in New Issue