]> 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 fdbf11a2ce05cacaaffcdd4a90a822518be92e81..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