Skip to content

Commit

Permalink
update the root handler
Browse files Browse the repository at this point in the history
  • Loading branch information
allnash committed Oct 31, 2024
1 parent 7238e87 commit a27d2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast-server/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit a27d2d4

Please sign in to comment.