diff --git a/main.go b/main.go index 9dbb1a1..5fda9c8 100644 --- a/main.go +++ b/main.go @@ -18,6 +18,10 @@ func main() { router := gin.Default() + router.GET("/", func(c *gin.Context) { + c.Redirect(http.StatusTemporaryRedirect, "https://github.com/leothelocust/dark-sky-weather-api") + }) + router.GET("/ping", func(c *gin.Context) { c.String(http.StatusOK, "pong") })