Skip to content

Commit d6e0272

Browse files
committed
Just post the path in Sitemap
1 parent 5c74baa commit d6e0272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/workers/sitemap_refresh_worker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def perform
2727
end
2828

2929
Team.all.each do |team|
30-
add(teamname_path(slug: team.slug, host: 'coderwall.com', protocol: 'https'), lastmod: team.updated_at, priority: 0.9)
30+
add(teamname_path(slug: team.slug), lastmod: team.updated_at, priority: 0.9)
3131
team.jobs.each do |job|
3232
add(job_path(slug: team.slug, job_id: job.public_id), lastmod: job.updated_at, priority: 1.0)
3333
end

0 commit comments

Comments
 (0)