Sha256: 0dc8910b8eacd6dea33e74a12a2cd3073d95d23df4bb854f4cd2793812b30ba8
Contents?: true
Size: 618 Bytes
Versions: 7
Compression:
Stored size: 618 Bytes
Contents
# frozen_string_literal: true require "pakyow/support/extension" module Pakyow class Application module Behavior module Realtime # Silences asset requests from being logged. # module Silencing extend Support::Extension apply_extension do on "load" do unless config.realtime.log_initial_request Pakyow.silence do |connection| connection.path.start_with?(File.join("/", config.realtime.path)) end end end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems