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

@@ -431,7 +431,7 @@ func render(w http.ResponseWriter, r *http.Request) {
"lastNotes": data.renderableLastNotes,
"parentNevent": data.parentNevent,
"authorRelays": data.authorRelays,
"CanonicalHost": s.CanonicalHost,
"s": s,
}
// if a mapping is not found fallback to raw