From 973e4b893fc0b0edad1bf6bb384862025d95a1c7 Mon Sep 17 00:00:00 2001 From: wakqasahmed Date: Mon, 17 Aug 2026 07:18:36 +0200 Subject: [PATCH] docs(homepage): fix undefined echo.Map in Hello World example (#3065) --- site/src/components/HomeHero.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/components/HomeHero.astro b/site/src/components/HomeHero.astro index 9d3f683e..abffe3a9 100644 --- a/site/src/components/HomeHero.astro +++ b/site/src/components/HomeHero.astro @@ -35,7 +35,7 @@ import { starsLabel, echoVersion } from '../data/github.ts'; func main() { e := echo.New() e.GET("/", func(c *echo.Context) error { - return c.JSON(200, echo.Map{"message": "Hello, World!"}) + return c.JSON(200, map[string]string{"message": "Hello, World!"}) }) e.Start(":1323") }