From 0b959ccd5e1f68bc54dce7b11d17a18e38f9a1f1 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 19 Oct 2020 18:06:57 +0530 Subject: hell girl busy --- main.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index b7f035a..aaf0287 100644 --- a/main.go +++ b/main.go @@ -34,5 +34,13 @@ func main() { c.HTML(http.StatusOK, "redirect.index.html", nil) }) + router.GET("/new", func(c *gin.Context) { + c.HTML(http.StatusOK, "new.index.html", nil) + }) + + router.GET("/site-down", func(c *gin.Context) { + c.HTML(http.StatusOK, "maintain.html", nil) + }) + router.Run(":" + port) } -- cgit v1.2.3