Remove users without nicknames from sitemap
This commit is contained in:
parent
063cd16643
commit
b6594fc0b8
@ -84,6 +84,10 @@ func configureAssets(app *aero.Application) {
|
|||||||
prefix := "https://" + app.Config.Domain
|
prefix := "https://" + app.Config.Domain
|
||||||
|
|
||||||
for user := range arn.StreamUsers() {
|
for user := range arn.StreamUsers() {
|
||||||
|
if !user.HasNick() {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
sitemap.Add(prefix + user.Link())
|
sitemap.Add(prefix + user.Link())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user