diff --git a/main.go b/main.go index 7fa52bc..be17857 100644 --- a/main.go +++ b/main.go @@ -76,6 +76,7 @@ Options:`) r := gin.Default() r.LoadHTMLGlob(path.Join(RuntimeArgs.SourcePath, "templates/*")) r.GET("/", newNote) + r.HEAD("/", func(c *gin.Context) { c.Status(200) }) r.GET("/:title", editNote) r.GET("/:title/*option", everythingElse) r.DELETE("/listitem", deleteListItem)