diff --git a/README.md b/README.md index 770d9e378e..6e9e8fb28f 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ This repo hosts: [Make your own badges!][custom badges] (Quick example: `https://img.shields.io/badge/left-right-f39f37`) -[custom badges]: http://shields.io/#your-badge +[custom badges]: https://shields.io/#your-badge ### Quickstart diff --git a/app.json b/app.json index ad5f008a5d..c3557c7164 100644 --- a/app.json +++ b/app.json @@ -4,7 +4,7 @@ "keywords": ["badge", "github", "svg", "status"], "website": "https://shields.io/", "repository": "https://github.com/badges/shields", - "logo": "http://shields.io/favicon.png", + "logo": "https://shields.io/favicon.png", "env": { "CYPRESS_INSTALL_BINARY": { "description": "Disable the cypress binary installation", diff --git a/badge-maker/package.json b/badge-maker/package.json index 7602f5d707..fc6702acb7 100644 --- a/badge-maker/package.json +++ b/badge-maker/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/badges/shields/issues" }, - "homepage": "http://shields.io", + "homepage": "https://shields.io", "bin": { "badge": "lib/badge-cli.js" }, diff --git a/core/server/influx-metrics.spec.js b/core/server/influx-metrics.spec.js index 529edeaaeb..f7d7cba7d0 100644 --- a/core/server/influx-metrics.spec.js +++ b/core/server/influx-metrics.spec.js @@ -87,7 +87,7 @@ describe('Influx metrics', function () { }) it('should send metrics', async function () { - const scope = nock('http://shields-metrics.io/', { + const scope = nock('https://shields-metrics.io/', { reqheaders: { 'Content-Type': 'application/x-www-form-urlencoded', }, @@ -101,7 +101,7 @@ describe('Influx metrics', function () { .reply(200) process.env.INSTANCE_ID = 'instance2' influxMetrics = new InfluxMetrics(metricInstance, { - url: 'http://shields-metrics.io/metrics', + url: 'https://shields-metrics.io/metrics', timeoutMillseconds: 100, intervalSeconds: 0.001, username: 'metrics-username', @@ -132,7 +132,7 @@ describe('Influx metrics', function () { }) const influxMetrics = new InfluxMetrics(metricInstance, { - url: 'http://shields-metrics.io/metrics', + url: 'https://shields-metrics.io/metrics', timeoutMillseconds: 50, intervalSeconds: 0, username: 'metrics-username', @@ -149,14 +149,14 @@ describe('Influx metrics', function () { .and( sinon.match.has( 'message', - 'Cannot push metrics. Cause: RequestError: Nock: Disallowed net connect for "shields-metrics.io:80/metrics"' + 'Cannot push metrics. Cause: RequestError: Nock: Disallowed net connect for "shields-metrics.io:443/metrics"' ) ) ) }) it('should log error responses', async function () { - nock('http://shields-metrics.io/').persist().post('/metrics').reply(400) + nock('https://shields-metrics.io/').persist().post('/metrics').reply(400) await influxMetrics.sendMetrics() @@ -166,7 +166,7 @@ describe('Influx metrics', function () { .and( sinon.match.has( 'message', - 'Cannot push metrics. http://shields-metrics.io/metrics responded with status code 400' + 'Cannot push metrics. https://shields-metrics.io/metrics responded with status code 400' ) ) ) diff --git a/doc/production-hosting.md b/doc/production-hosting.md index f6e2e76800..a1b2fd0399 100644 --- a/doc/production-hosting.md +++ b/doc/production-hosting.md @@ -102,7 +102,7 @@ hosted on [Zeit Now][]. It's managed in the Both the badge server and frontend are served from Heroku. -After merging a commit to master, heroku should create a staging deploy. Check this has deployed correctly in the `shields-staging` pipeline and review http://shields-staging.herokuapp.com/ +After merging a commit to master, heroku should create a staging deploy. Check this has deployed correctly in the `shields-staging` pipeline and review https://shields-staging.herokuapp.com/ If we're happy with it, "promote to production". This will deploy what's on staging to the `shields-production-eu` and `shields-production-us` pieplines. diff --git a/frontend/components/development/style-page.tsx b/frontend/components/development/style-page.tsx index bf4e14d3a9..a6266ae546 100644 --- a/frontend/components/development/style-page.tsx +++ b/frontend/components/development/style-page.tsx @@ -139,7 +139,7 @@ function StyleTable({ style }: { style: string }): JSX.Element {