if %w[potlatch potlatch2].include?(editor)
append_content_security_policy_directives(
+ :connect_src => %w[*],
:object_src => %w[*],
:plugin_types => %w[application/x-shockwave-flash],
:script_src => %w['unsafe-inline']
@locale = params[:copyright_locale] || I18n.locale
end
- def welcome
- require_user
- end
+ def welcome; end
def help; end
append_content_security_policy_directives(
:connect_src => %w[*],
:img_src => %w[* blob:],
- :script_src => %w[dev.virtualearth.net *.wikipedia.org www.wikidata.org services.arcgisonline.com serviceslab.arcgisonline.com 'unsafe-eval'],
+ :script_src => %w[dev.virtualearth.net 'unsafe-eval'],
:style_src => %w['unsafe-inline']
)