Skip to content

Commit

Permalink
[Fix] infinte 304
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgchgli0718 committed Mar 18, 2023
1 parent fc5bbdb commit 9b37663
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ZMediumToMarkdown.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
gem.files = Dir['lib/**/*.*']
gem.executables = ['ZMediumToMarkdown']
gem.name = 'ZMediumToMarkdown'
gem.version = '2.1.3'
gem.version = '2.1.5'

gem.license = "MIT"

Expand Down
3 changes: 2 additions & 1 deletion lib/Request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def self.URL(url, method = 'GET', data = nil, retryCount = 0)
if !location.match? /^(http)/
location = "#{uri.scheme}://#{uri.host}#{location}"
end
response = self.URL(location, method, data)

response = self.URL(location, method, data, retryCount)
end
end
rescue
Expand Down

0 comments on commit 9b37663

Please sign in to comment.