Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
fix: remove www from API url
Browse files Browse the repository at this point in the history
The API url `https://www.sonarcloud.io/api` redirects to `https://sonarcloud.io/api` causing problems with auth and POST requests (see #20).
  • Loading branch information
reinoudk committed Jul 16, 2021
1 parent b1fe7f6 commit f83c020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonarcloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

const API = "https://www.sonarcloud.io/api"
const API = "https://sonarcloud.io/api"

// Provider SonarCloud
func Provider() *schema.Provider {
Expand Down

0 comments on commit f83c020

Please sign in to comment.