login page tweaks
This commit is contained in:
parent
73b7144394
commit
85a114e591
5 changed files with 26 additions and 11 deletions
|
|
@ -51,8 +51,7 @@ func (s *Server) handler() http.Handler {
|
|||
}
|
||||
|
||||
func (s *Server) handleIndex(c *router.Context) {
|
||||
c.Out.Header().Set("Content-Type", "text/html")
|
||||
assets.Render("index.html", c.Out, nil)
|
||||
c.HTML(http.StatusOK, assets.Template("index.html"), nil)
|
||||
}
|
||||
|
||||
func (s *Server) handleStatic(c *router.Context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue