diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..42e1727 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# This file is managed by platform-metadata. Instead of committing directly to the file, please open a PR in https://github.com/datacamp-engineering/platform-metadata +* @datacamp-engineering/infra diff --git a/lib/rack/tracker.rb b/lib/rack/tracker.rb index ed0a07e..e30cf98 100644 --- a/lib/rack/tracker.rb +++ b/lib/rack/tracker.rb @@ -38,6 +38,10 @@ def initialize(app, &block) end def call(env) + dup._call(env) + end + + def _call(env) @status, @headers, @body = @app.call(env) return [@status, @headers, @body] unless html? response = Rack::Response.new([], @status, @headers)