Compare commits
No commits in common. "master" and "develop" have entirely different histories.
@ -38,9 +38,6 @@ func RunServer(config config.Config) (err error) {
|
|||||||
e.Renderer = builtTemplates
|
e.Renderer = builtTemplates
|
||||||
|
|
||||||
e.GET("/", p.Index)
|
e.GET("/", p.Index)
|
||||||
e.GET("/health", func(c echo.Context) error {
|
|
||||||
return c.String(http.StatusOK, "OK")
|
|
||||||
})
|
|
||||||
e.GET("/static/*", func(c echo.Context) error {
|
e.GET("/static/*", func(c echo.Context) error {
|
||||||
return static.GetStatic(&root.Files, c)
|
return static.GetStatic(&root.Files, c)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user