Skip to content

Commit

Permalink
Update default API server url (#7)
Browse files Browse the repository at this point in the history
Base on gitignore documentation, the API server url is changed from www.gitignore.io to
www.toptal.com domain, so use that url instead.

See: https://docs.gitignore.io/install/command-line

Fixes #1
  • Loading branch information
VTCANguyenQuangMinh committed Jul 27, 2021
1 parent be98fec commit 4fb1258
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions gogi
Submodule gogi added at 313745
4 changes: 2 additions & 2 deletions gogi.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
const (
version = "0.0.4"
ua = "gogi/" + version
defaultAPIURL = "https://www.gitignore.io"
typePath = "/api"
defaultAPIURL = "https://www.toptal.com"
typePath = "/developers/gitignore/api"
)

// Client for querying API
Expand Down

0 comments on commit 4fb1258

Please sign in to comment.