remove unexpected string interpolation on html.

This commit is contained in:
fiatjaf 2021-08-15 19:41:16 -03:00
parent daabe24782
commit 69b5e6dd31

View File

@ -65,7 +65,7 @@ func main() {
SiteOwnerURL: s.SiteOwnerURL, SiteOwnerURL: s.SiteOwnerURL,
SiteName: s.SiteName, SiteName: s.SiteName,
}) })
fmt.Fprintf(w, fmt.Fprint(w,
strings.ReplaceAll( strings.ReplaceAll(
strings.ReplaceAll( strings.ReplaceAll(
html, "{} // REPLACED WITH SERVER DATA", string(serverData), html, "{} // REPLACED WITH SERVER DATA", string(serverData),