diff --git a/README.md b/README.md index 0b519a3f..0811d3c3 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # OpenSSF Scorecard API and website -[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/ossf/scorecard-webapp/badge)](https://api.securityscorecards.dev/projects/github.com/ossf/scorecard-webapp) +[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/ossf/scorecard-webapp/badge)](https://api.scorecard.dev/projects/github.com/ossf/scorecard-webapp) [![Netlify Status](https://api.netlify.com/api/v1/badges/d631bbe2-0e67-48ae-81a7-d7015195c9fd/deploy-status)](https://app.netlify.com/sites/ossf-scorecard/deploys) ## scorecard-webapp -Code for https://securityscorecards.dev +Code for https://scorecard.dev ([`./scorecards-site`](./scorecards-site)) and -https://api.securityscorecards.dev ([`./app`](./app)). +https://api.scorecard.dev ([`./app`](./app)). The site is deployed on Netlify and the deployment configuration is in [netlify.toml](./netlify.toml). Any changes committed to diff --git a/app/generated/client/open_ssf_scorecard_api_client.go b/app/generated/client/open_ssf_scorecard_api_client.go index fd876181..e1656790 100644 --- a/app/generated/client/open_ssf_scorecard_api_client.go +++ b/app/generated/client/open_ssf_scorecard_api_client.go @@ -35,7 +35,7 @@ var Default = NewHTTPClient(nil) const ( // DefaultHost is the default Host // found in Meta (info) section of spec file - DefaultHost string = "api.securityscorecards.dev" + DefaultHost string = "api.scorecard.dev" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/" diff --git a/app/generated/restapi/doc.go b/app/generated/restapi/doc.go index a9faa780..ef00368f 100644 --- a/app/generated/restapi/doc.go +++ b/app/generated/restapi/doc.go @@ -19,7 +19,7 @@ // API to interact with a project's published Scorecard result // Schemes: // http -// Host: api.securityscorecards.dev +// Host: api.scorecard.dev // BasePath: / // Version: 1.0.0 // diff --git a/app/generated/restapi/embedded_spec.go b/app/generated/restapi/embedded_spec.go index 6bef311b..a1590b8f 100644 --- a/app/generated/restapi/embedded_spec.go +++ b/app/generated/restapi/embedded_spec.go @@ -48,7 +48,7 @@ func init() { "title": "OpenSSF Scorecard API", "version": "1.0.0" }, - "host": "api.securityscorecards.dev", + "host": "api.scorecard.dev", "paths": { "/projects/{platform}/{org}/{repo}": { "get": { @@ -370,7 +370,7 @@ func init() { "title": "OpenSSF Scorecard API", "version": "1.0.0" }, - "host": "api.securityscorecards.dev", + "host": "api.scorecard.dev", "paths": { "/projects/{platform}/{org}/{repo}": { "get": { diff --git a/app/generated/restapi/static/swagger-initializer.js b/app/generated/restapi/static/swagger-initializer.js index 5c17e894..137b656b 100644 --- a/app/generated/restapi/static/swagger-initializer.js +++ b/app/generated/restapi/static/swagger-initializer.js @@ -12,7 +12,7 @@ window.onload = function() { // the following lines will be replaced by docker/configurator, when it runs in a docker-container window.ui = SwaggerUIBundle({ - url: "https://api.securityscorecards.dev/swagger.json", + url: "https://api.scorecard.dev/swagger.json", dom_id: '#swagger-ui', deepLinking: true, presets: [ diff --git a/openapi.yaml b/openapi.yaml index 953c9bbc..27089cda 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -17,7 +17,7 @@ info: title: OpenSSF Scorecard API description: API to interact with a project's published Scorecard result version: 1.0.0 -host: api.securityscorecards.dev +host: api.scorecard.dev schemes: - http diff --git a/scorecards-site/static/viewer/index.html b/scorecards-site/static/viewer/index.html index 020263bb..76be6763 100644 --- a/scorecards-site/static/viewer/index.html +++ b/scorecards-site/static/viewer/index.html @@ -1,7 +1,7 @@