fix typo in previous

This commit is contained in:
mappu 2018-06-04 18:28:50 +12:00
parent 0a338c4568
commit 3cf4986418
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func (this *Server) handlePreview(w http.ResponseWriter, fileIDList string) {
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
` `
if len(this.opts.ServerPublicPropertyies.CanonicalBaseURL) > 0 { if len(this.opts.ServerPublicProperties.CanonicalBaseURL) > 0 {
tmpl += ` tmpl += `
<meta property="og:url" content="` + html.EscapeString(this.opts.ServerPublicProperties.CanonicalBaseURL+`p/`+fileIDList) + `" /> <meta property="og:url" content="` + html.EscapeString(this.opts.ServerPublicProperties.CanonicalBaseURL+`p/`+fileIDList) + `" />
` `