Redirect SVG image.

This commit is contained in:
Mathias Meyer 2014-03-19 15:07:05 +01:00
parent 34c07325d3
commit f96816f62c

View File

@ -18,7 +18,7 @@ class Travis::Web::ApiRedirect < Sinatra::Base
end
end
get NotPublicImages.new(%r{^/([^/]+)/([^/]+)\.png$}, %r{^/images/}) do
get NotPublicImages.new(%r{^/([^/]+)/([^/]+)\.(png|svg)$}, %r{^/images/}) do
redirect!
end