1
0

Added GET and POST /guestbook endpoints.

This commit is contained in:
Alexander Andreev 2023-02-05 21:49:58 +04:00
parent eff952c32a
commit a81e71eb87
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -61,6 +61,8 @@ func main() {
srv.GET("/stuff/article/*filepath", hand.Article)
srv.GET("/mindflow", hand.Mindflow)
srv.GET("/about", hand.About)
srv.GET("/guestbook", hand.Guestbook)
srv.POST("/guestbook", hand.GuestbookPost)
srv.GET("/robots.txt", hand.Robots)
srv.GET("/rss.xml", hand.RSS)