Configure file upload size limit

Fixes #23
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthew Knight 2026-02-17 16:04:35 -08:00
parent e3ef03ddcd
commit 1c0eb3be86
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ type Dependencies struct {
func NewRouter(deps Dependencies) *gin.Engine {
r := gin.New()
r.MaxMultipartMemory = 10 << 20 // 10 MB
r.Use(middleware.RequestID)
r.Use(middleware.Logging)