diff --git a/static/login.html b/static/login.html.old similarity index 100% rename from static/login.html rename to static/login.html.old diff --git a/static/login_shuidi.html b/static/login_shuidi.html index 284c3b7..2956855 100644 --- a/static/login_shuidi.html +++ b/static/login_shuidi.html @@ -44,9 +44,24 @@ + + \ No newline at end of file diff --git a/static/static_router.go b/static/static_router.go index dc3b4fa..5607a28 100644 --- a/static/static_router.go +++ b/static/static_router.go @@ -13,7 +13,7 @@ func Favicon(c echo.Context) error { func Login(c echo.Context) error { c.Response().Header().Set("Cache-Control", "max-age=3600") - return c.Blob(http.StatusOK, "text/html; charset=utf-8", pageMap["login_shuidi.html"]) + return c.Blob(http.StatusOK, "text/html; charset=utf-8", pageMap["mylomen.html"]) } func Chat(c echo.Context) error { @@ -46,11 +46,11 @@ func Chat3(c echo.Context) error { func InitStaticGroup(g *echo.Group) { - g.GET("login.html", func(c echo.Context) error { + g.GET("mylomen.html", func(c echo.Context) error { c.Response().Header().Set("Content-Type", "text/html; charset=utf-8") c.Response().Header().Set("Cache-Control", "max-age=3600") - return c.Blob(http.StatusOK, "text/html; charset=utf-8", pageMap["login_shuidi_v2.html"]) + return c.Blob(http.StatusOK, "text/html; charset=utf-8", pageMap["mylomen.html"]) }) g.GET("css/:name", func(c echo.Context) error {