logo
This commit is contained in:
@@ -73,14 +73,13 @@ func main() {
|
||||
|
||||
e.Static("/css", "css")
|
||||
e.Static("/js", "js")
|
||||
e.Static("/images", "images")
|
||||
|
||||
e.GET("/", func(c echo.Context) error {
|
||||
return c.Render(200, "index", newPage(boxes.GetBoxes()))
|
||||
})
|
||||
e.GET("/boxes/ws", boxes.HandleBoxesWs)
|
||||
|
||||
e.File("/favicon.ico", "images/favicon.ico")
|
||||
|
||||
e.GET("/draw", draw.Page)
|
||||
e.GET("/draw/ws", draw.InitWs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user