update pin-sha256, search view image

This commit is contained in:
deepzz0
2016-10-15 00:33:51 +08:00
parent 4f39fe4d70
commit 1bf197feef
5 changed files with 15 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ func HandleSearchPage(c *gin.Context) {
}
if q != "" {
h["Word"] = q
h["HotWord"] = []string{}
h["HotWords"] = []string{"docker"}
var result *ESSearchResult
vals := c.Request.URL.Query()
reg := regexp.MustCompile(`^[a-z]+:\w+$`)