Skip to content

Commit

Permalink
Merge pull request #261 from dabcoder/david/api-base-url
Browse files Browse the repository at this point in the history
  • Loading branch information
gzussa authored Aug 19, 2019
2 parents 5100b54 + b3e7fb4 commit 85f1bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type valid struct {
func NewClient(apiKey, appKey string) *Client {
baseUrl := os.Getenv("DATADOG_HOST")
if baseUrl == "" {
baseUrl = "https://app.datadoghq.com"
baseUrl = "https://api.datadoghq.com"
}

return &Client{
Expand Down

0 comments on commit 85f1bff

Please sign in to comment.