lib/remnant/rack.rb in remnant-0.9.1 vs lib/remnant/rack.rb in remnant-0.9.2
- old
+ new
@@ -5,10 +5,10 @@
end
def call(env)
@response = [500, '', '']
- if env['REQUEST_PATH'].include?('/asset')
+ if env['REQUEST_PATH'] && env['REQUEST_PATH'].include?('/asset')
@response = @app.call(env)
else
begin
# only gc capture as dev