diff --git a/app/views/stories/_listdetail.html.erb b/app/views/stories/_listdetail.html.erb index ab95ed2..e62f0b0 100644 --- a/app/views/stories/_listdetail.html.erb +++ b/app/views/stories/_listdetail.html.erb @@ -163,8 +163,8 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %> <% end %> <% if story.url.present? %> | - <%= t('.cached') %> + <%= t('.cached') %> <% end %> <% if !story.is_gone? %> diff --git a/extras/story_cacher.rb b/extras/story_cacher.rb index fcacb2e..a1f344e 100644 --- a/extras/story_cacher.rb +++ b/extras/story_cacher.rb @@ -44,7 +44,7 @@ class StoryCacher begin s = Sponge.new s.timeout = 45 - s.fetch("https://web.archive.org/save/#{db_url}") + s.fetch("https://archive.is/#{db_url}") rescue => e Rails.logger.error "error caching #{db_url}: #{e.message}" end