delete explicit mentions to njump.me and use s.CanonicalHost

This commit is contained in:
fiatjaf
2023-09-24 13:51:19 -03:00
parent 4e89a2125e
commit a082efc45d
10 changed files with 57 additions and 42 deletions

View File

@@ -9,7 +9,7 @@ func renderRobots(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "max-age=3600")
params := map[string]any{
"CanonicalHost": s.CanonicalHost,
"s": s,
}
if err := tmpl.ExecuteTemplate(w, templateMapping[typ], params); err != nil {