diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb index 148a777b8..5644d92d4 100644 --- a/config/initializers/cors.rb +++ b/config/initializers/cors.rb @@ -11,14 +11,6 @@ allow do origins '*' - resource '*', - headers: :any, - methods: [:get, :post, :put, :patch, :delete, :options, :head] - end - - allow do - origins 'localhost:3000', /\.datacite\.org\z/ - resource '*', headers: :any, expose: ["X-Credential-Username", "X-Anonymous-Consumer"],