aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 8 insertions, 0 deletions
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)
}