fix importer bloblink

ui no longer accepts ?b=blobref form

Change-Id: I40fb0aa75fe1664d5b1446c0d4670a3348935c93
This commit is contained in:
Eric Drechsel 2014-09-07 19:37:19 -07:00
parent 92ec2f678b
commit 4800931d55
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ func NewHost(hc HostConfig) (*Host, error) {
if h.uiPrefix == "" {
return template.HTML(br.String())
}
return template.HTML(fmt.Sprintf("<a href=\"%s?b=%s\">%s</a>", h.uiPrefix, br, br))
return template.HTML(fmt.Sprintf("<a href=\"%s/%s\">%s</a>", h.uiPrefix, br, br))
},
})
for k, impl := range importers {