Skip to content

Commit

Permalink
remove obsolete codd
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 19, 2021
1 parent c3b9e29 commit c8ceee6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions config/environments/stage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c8ceee6

Please sign in to comment.