Skip to content

Commit

Permalink
del key
Browse files Browse the repository at this point in the history
  • Loading branch information
xmdhs committed May 19, 2022
1 parent 2eddbaa commit 7884dc4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions curseapi/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ import (
"io"
"io/ioutil"
"net/http"
"os"
"time"

"golang.org/x/sync/singleflight"
)

var c = http.Client{Timeout: 10 * time.Second}

//var key = os.Getenv("CURSE_API_KEY")

var key = "$2a$10$Xewj1tf0GSQin8A4vkTXdOKTwCx6J.1ZDVzliKYBdN8CcF2GrzSsu"
var key = os.Getenv("CURSE_API_KEY")

func httpget(url string) ([]byte, error) {
reqs, err := http.NewRequest("GET", url, nil)
Expand Down

0 comments on commit 7884dc4

Please sign in to comment.