diff --git a/app/workers/submit_to_indexnow_worker.rb b/app/workers/submit_to_indexnow_worker.rb index 3b4abbc..fcdd8a9 100644 --- a/app/workers/submit_to_indexnow_worker.rb +++ b/app/workers/submit_to_indexnow_worker.rb @@ -86,7 +86,7 @@ class SubmitToIndexnowWorker WeatherArt.includes(:city).where("updated_at > ?", recently_updated).find_each do |art| # WeatherArt.includes(:city).find_each do |art| if art.image.attached? - urls << "#{@host}/cities/#{art.city.slug}/weather_arts/#{art.slug}" + urls << "#{@host}/cities/#{art.city.slug}/weather/#{art.slug}" available_locales.each do |locale| urls << "#{@host}/#{locale}/cities/#{art.city.slug}/weather/#{art.slug}" end