X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b16aa11f65ed1120ee546712150ad6f57ec50102..75189bd17d42166871c7ffce07917fdd73dbcfa4:/app/controllers/site_controller.rb?ds=sidebyside diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 8f4aafa44..4b960e4e2 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -103,9 +103,7 @@ class SiteController < ApplicationController @locale = params[:copyright_locale] || I18n.locale end - def welcome - require_user - end + def welcome; end def help; end @@ -123,7 +121,7 @@ class SiteController < ApplicationController 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'] )