fix trusted cert env

pull/267/head
Pete Matsyburka 2 years ago
parent 897750ba1e
commit 58797891c7

@ -66,7 +66,7 @@ module Docuseal
def trusted_certs def trusted_certs
@trusted_certs ||= @trusted_certs ||=
ENV['TRUSTED_CERTS'].to_s.split("\n\n").map do |base64| ENV['TRUSTED_CERTS'].to_s.gsub('\\n', "\n").split("\n\n").map do |base64|
OpenSSL::X509::Certificate.new(base64) OpenSSL::X509::Certificate.new(base64)
end end
end end

Loading…
Cancel
Save