GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.
Go botgogolanggolang-whatsappgolang-whatsapp-apirestrest-apiwhatsappwhatsapp-apiwhatsapp-api-gowhatsapp-multi-devicewhatsapp-web-multi-device
feat: enable trusted proxy
Aldino Kemal136ae686e480
diff --git a/src/cmd/rest.go b/src/cmd/rest.goindex ef7978ac..5c1aabdd 100644--- a/src/cmd/rest.go+++ b/src/cmd/rest.go@@ -38,9 +38,10 @@ func restServer(_ *cobra.Command, _ []string) {return token != nil})app := fiber.New(fiber.Config{- Views: engine,- BodyLimit: int(config.WhatsappSettingMaxVideoSize),- Network: "tcp",+ Views: engine,+ EnableTrustedProxyCheck: true,+ BodyLimit: int(config.WhatsappSettingMaxVideoSize),+ Network: "tcp",})app.Static(config.AppBasePath+"/statics", "./statics")