added /matches to sitemap

This commit is contained in:
2023-03-03 21:09:12 +01:00
parent c5b8d90f3c
commit 5c3abbe463

View File

@@ -1195,6 +1195,9 @@ func main() {
// populate sitemap
siteMap = &gositemap.SiteMap{BaseURL: "csgow.tf"}
freq := gositemap.Hourly
siteMap.AddURL("/matches", nil, &freq, nil)
players, err := db.Player.Query().IDs(context.Background())
if err != nil {
log.Panicf("error setting up SiteMap: %v", err)