Redirect SVG image.
This commit is contained in:
parent
34c07325d3
commit
f96816f62c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user