Fix new rubocop warnings
This commit is contained in:
parent
d21cbc0464
commit
d3d0da0328
9 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue