diff --git a/develop/dwz/init.go b/develop/dwz/init.go index b930680..977e51a 100644 --- a/develop/dwz/init.go +++ b/develop/dwz/init.go @@ -6,8 +6,8 @@ import ( ) func init() { - core.Server.GET("/http:add", func(c *gin.Context) { - addr := "http" + c.Param("add") + core.Server.GET("/dwz", func(c *gin.Context) { + addr := c.Param("addr") c.String(200, addr) }) }