From 547493be9bb9e265235df98f9234d2c41d8ea6d2 Mon Sep 17 00:00:00 2001 From: Daniel Vinciguerra Date: Sun, 19 Jul 2020 12:46:55 -0300 Subject: [PATCH] chance api host until make a mirror (#4) --- lib/gitignore.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gitignore.rb b/lib/gitignore.rb index 1801ffe..4523f13 100644 --- a/lib/gitignore.rb +++ b/lib/gitignore.rb @@ -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")