mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
delete explicit mentions to njump.me and use s.CanonicalHost
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user