Exception: Rack::Cors::Resource::CorsMisconfigurationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rack/cors/resources/cors_misconfiguration_error.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



7
8
9
10
# File 'lib/rack/cors/resources/cors_misconfiguration_error.rb', line 7

def message
  'Allowing credentials for wildcard origins is insecure.' \
  " Please specify more restrictive origins or set 'credentials' to false in your CORS configuration."
end