lib/volt/server/rack/quiet_common_logger.rb in volt-0.8.27.beta3 vs lib/volt/server/rack/quiet_common_logger.rb in volt-0.8.27.beta4
- old
+ new
@@ -23,10 +23,10 @@
end
end
# Because of web sockets, the initial request doesn't finish, so we
# can just trigger it now.
- if !ext && !path.start_with?('/channel')
+ unless ext || path.start_with?('/channel')
log(env, status, header, began_at)
end
[status, header, body]
end