From c8ceee6884a33cc6cf23b643dd52b645bcd918cd Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Mon, 19 Jul 2021 11:59:06 +0200 Subject: [PATCH] remove obsolete codd --- config/environments/development.rb | 2 -- config/environments/production.rb | 3 --- config/environments/stage.rb | 3 --- 3 files changed, 8 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 0d48a613d..a28191145 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -42,8 +42,6 @@ require "flipper/middleware/memoizer" config.middleware.use Flipper::Middleware::Memoizer - config.allowed_cors_origins = ["http://localhost:3000", "http://localhost:4200"] - # config.after_initialize do # Bullet.enable = true # Bullet.rails_logger = true diff --git a/config/environments/production.rb b/config/environments/production.rb index d11c878bd..57da5fd0e 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -81,7 +81,4 @@ require "flipper/middleware/memoizer" config.middleware.use Flipper::Middleware::Memoizer - - # enable specific origins for post actions - config.allowed_cors_origins = ["https://commons.datacite.org", "https://doi.datacite.org"] end diff --git a/config/environments/stage.rb b/config/environments/stage.rb index 0e130b52d..0dfa2e72f 100644 --- a/config/environments/stage.rb +++ b/config/environments/stage.rb @@ -79,7 +79,4 @@ require "flipper/middleware/memoizer" config.middleware.use Flipper::Middleware::Memoizer - - # enable specific origins for post actions - config.allowed_cors_origins = ["http://localhost:3000", "http://localhost:4200", "https://commons.stage.datacite.org", "https://doi.stage.datacite.org"] end