Added GET and POST /guestbook endpoints.
This commit is contained in:
parent
eff952c32a
commit
a81e71eb87
@ -61,6 +61,8 @@ func main() {
|
|||||||
srv.GET("/stuff/article/*filepath", hand.Article)
|
srv.GET("/stuff/article/*filepath", hand.Article)
|
||||||
srv.GET("/mindflow", hand.Mindflow)
|
srv.GET("/mindflow", hand.Mindflow)
|
||||||
srv.GET("/about", hand.About)
|
srv.GET("/about", hand.About)
|
||||||
|
srv.GET("/guestbook", hand.Guestbook)
|
||||||
|
srv.POST("/guestbook", hand.GuestbookPost)
|
||||||
srv.GET("/robots.txt", hand.Robots)
|
srv.GET("/robots.txt", hand.Robots)
|
||||||
srv.GET("/rss.xml", hand.RSS)
|
srv.GET("/rss.xml", hand.RSS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user