Skip to content

Commit

Permalink
biturl api change: fixes #9
Browse files Browse the repository at this point in the history
  • Loading branch information
mschneider82 committed Jul 2, 2020
1 parent 76ffd0e commit e2e55a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urlshortener/biturl/biturl.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (b *BitURL) GetName() string {

// ShortURL maks http post to biturl.top to get short url
func (b *BitURL) ShortURL() (string, error) {
resp, err := http.Post(fmt.Sprintf("https://biturl.top/short?url=%s", b.URL), "", nil)
resp, err := http.Post(fmt.Sprintf("https://api.biturl.top/short?url=%s", b.URL), "", nil)
if err != nil {
return "", err
}
Expand Down

0 comments on commit e2e55a5

Please sign in to comment.