lib/scrivito/binary_rewrite.rb in scrivito_sdk-1.5.3 vs lib/scrivito/binary_rewrite.rb in scrivito_sdk-1.5.4.rc1

- old
+ new

@@ -22,10 +22,10 @@ # @param block [Proc] block change default CDN url of current binary obj # # @example # Scrivito::BinaryRewrite.enable_for(request) do |binary_url| # binary_url.sub( - # "https://scrivito-public-cdn.s3-eu-west-1.amazonaws.com/", + # /https:\/\/.+\.scrvt\.com\//, # "https://my.reverse.proxy.com/") # end # def self.enable_for(request, &block) request.env["SCRIVITO_BINARY_URL_CALLBACK"] = block