OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/helpers/enterprise_trial_helper.rb

21 lines
651 B

module EnterpriseTrialHelper
def augur_content_security_policy
append_content_security_policy_directives(
connect_src: [OpenProject::Configuration.enterprise_trial_creation_host]
)
end
def chargebee_content_security_policy
append_content_security_policy_directives(
script_src: %w(js.chargebee.com),
style_src: %w(js.chargebee.com openproject-enterprise-test.chargebee.com),
frame_src: %w(js.chargebee.com openproject-enterprise-test.chargebee.com)
)
end
def youtube_content_security_policy
append_content_security_policy_directives(
frame_src: %w(https://www.youtube.com)
)
end
end