]> git.openstreetmap.org Git - rails.git/commit
Drop custom CORS rack module
authorTom Hughes <tom@compton.nu>
Tue, 15 Apr 2025 17:24:59 +0000 (18:24 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 15 Apr 2025 17:51:50 +0000 (18:51 +0100)
commit95ef2ea964343cd846292e86e8ec429b9140fb65
tree1bda69d8d3937652448d0874ecbcbc8d04d4716e
parent83dae8ca11cdc23c86e9e1a9b1394072b233b0f3
Drop custom CORS rack module

Rack::Cors has handled caching properly for some time now by
adding a Vary header so we no longer need out custom module.
config/initializers/cors.rb
test/integration/cors_test.rb