mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 14:24:27 +01:00
Fix domains output in robots.txt
This commit is contained in:
@@ -10,7 +10,7 @@ func renderRobots(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintf(w, `User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://{{%s}}/npubs-archive.xml
|
||||
Sitemap: https://{{%s}}/relays-archive.xml
|
||||
Sitemap: https://%s/npubs-archive.xml
|
||||
Sitemap: https://%s/relays-archive.xml
|
||||
`, s.Domain, s.Domain)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user