Skip to content

Commit 2ddecbb

Browse files
committed
Increase max upload size to 500MB
1 parent 035ed0e commit 2ddecbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/cmd/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
// initServer initializes the server and returns the Fiber server and the initialized database connection.
1717
func initServer() (*fiber.App, *gorm.DB, error) {
18-
app := fiber.New(fiber.Config{})
18+
app := fiber.New(fiber.Config{BodyLimit: 500 * 1024 * 1024})
1919

2020
// Initialize the database configuration
2121
conf := entity.Config{

0 commit comments

Comments
 (0)