diff --git a/config.rb b/config.rb index 8bb5fe1..b136164 100644 --- a/config.rb +++ b/config.rb @@ -29,7 +29,7 @@ #TODO: add something like this to speed it up? # next if sitemap.find_resource_by_path(...) short_path = img.destination_path.sub(/#{File.extname(img.destination_path)}$/, '') - proxy short_path, "/photo.html", layout: 'layout', locals: { photo: img }, ignore: true + proxy short_path, '/photo.html', layout: 'layout', locals: { photo: img }, ignore: true, content_type: 'text/html' end end