diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb index 671c7a046..148a777b8 100644 --- a/config/initializers/cors.rb +++ b/config/initializers/cors.rb @@ -17,7 +17,7 @@ end allow do - origins 'localhost:3000', /\Ahttps:\/\/*.datacite.org\z/ + origins 'localhost:3000', /\.datacite\.org\z/ resource '*', headers: :any,