From a27d2d473978e8d5815594c3441b5ef2d0a02770 Mon Sep 17 00:00:00 2001 From: Nash Gadre Date: Thu, 31 Oct 2024 14:00:15 -0400 Subject: [PATCH] update the root handler --- fast-server/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast-server/server/server.go b/fast-server/server/server.go index 077c178..0c87523 100644 --- a/fast-server/server/server.go +++ b/fast-server/server/server.go @@ -159,7 +159,7 @@ func (s *Server) setupRoutes() { }) // Root handler - s.echo.GET("/", func(c echo.Context) error { + s.echo.Any("/", func(c echo.Context) error { domain := c.Get("domain").(config.Domain) switch domain.Type { case "proxy":