Skip to content

Commit

Permalink
chance api host until make a mirror (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvinciguerra authored Jul 19, 2020
1 parent 9f82587 commit 547493b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gitignore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Gitignore
class Error < StandardError; end

class << self
GITIGNORE_HOST = ENV['GITIGNORE_HOST'] || 'https://www.gitignore.io'
GITIGNORE_HOST = ENV['GITIGNORE_HOST'] || 'https://www.toptal.com/developers/gitignore'

def list
response = HTTP.get("#{GITIGNORE_HOST}/api/list")
Expand Down

0 comments on commit 547493b

Please sign in to comment.