Skip to content

Commit

Permalink
delete cors in production.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungHypo committed Dec 7, 2024
1 parent cadef04 commit 7ce63f6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,4 @@
# ]
# Skip DNS rebinding protection for the default health check endpoint.
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }

# allow all hosts
config.hosts.clear

# ensure CORS middleware is enabled in production
config.middleware.use Rack::Cors
end

0 comments on commit 7ce63f6

Please sign in to comment.