zlenner
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
src/cmd/rest.go
|
|
@ -40,6 +40,7 @@ func restServer(_ *cobra.Command, _ []string) { |
|
|
app := fiber.New(fiber.Config{ |
|
|
app := fiber.New(fiber.Config{ |
|
|
Views: engine, |
|
|
Views: engine, |
|
|
BodyLimit: int(config.WhatsappSettingMaxVideoSize), |
|
|
BodyLimit: int(config.WhatsappSettingMaxVideoSize), |
|
|
|
|
|
Network: "tcp", |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
app.Static("/statics", "./statics") |
|
|
app.Static("/statics", "./statics") |
|
|
|