]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/cors.rb
Bump @eslint/plugin-kit from 0.2.0 to 0.2.3
[rails.git] / config / initializers / cors.rb
index 7421bd3346868dc96b580ad14e6fe1dee61b701e..e7b813b73f788fb7bf4cac947007c2ff0154340d 100644 (file)
@@ -6,7 +6,7 @@
 module OpenStreetMap
   class Cors < Rack::Cors
     def call(env)
-      status, headers, body = super env
+      status, headers, body = super
       headers["Cache-Control"] = "no-cache" if headers["Access-Control-Allow-Origin"]
       [status, headers, body]
     end