Remove users without nicknames from sitemap

This commit is contained in:
Eduard Urbach 2017-11-18 16:41:27 +01:00
parent 063cd16643
commit b6594fc0b8

View File

@ -84,6 +84,10 @@ func configureAssets(app *aero.Application) {
prefix := "https://" + app.Config.Domain
for user := range arn.StreamUsers() {
if !user.HasNick() {
continue
}
sitemap.Add(prefix + user.Link())
}