From 53bee2506debf01d9f6e884d1fc09b86d001f0e2 Mon Sep 17 00:00:00 2001 From: Yaman Jain Date: Wed, 1 Nov 2017 14:49:59 +0530 Subject: [PATCH] examples: use https github url closes #3465 --- examples/web-service/index.js | 6 +++--- test/acceptance/web-service.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/web-service/index.js b/examples/web-service/index.js index 41747cfd..5a603a10 100644 --- a/examples/web-service/index.js +++ b/examples/web-service/index.js @@ -49,9 +49,9 @@ var apiKeys = ['foo', 'bar', 'baz']; // these two objects will serve as our faux database var repos = [ - { name: 'express', url: 'http://github.com/expressjs/express' } - , { name: 'stylus', url: 'http://github.com/learnboost/stylus' } - , { name: 'cluster', url: 'http://github.com/learnboost/cluster' } + { name: 'express', url: 'https://github.com/expressjs/express' }, + { name: 'stylus', url: 'https://github.com/learnboost/stylus' }, + { name: 'cluster', url: 'https://github.com/learnboost/cluster' } ]; var users = [ diff --git a/test/acceptance/web-service.js b/test/acceptance/web-service.js index 521fa9fa..fa2c10bf 100644 --- a/test/acceptance/web-service.js +++ b/test/acceptance/web-service.js @@ -53,7 +53,7 @@ describe('web-service', function(){ .get('/api/repos?api-key=foo') .expect('Content-Type', 'application/json; charset=utf-8') .expect(/"name":"express"/) - .expect(/"url":"http:\/\/github.com\/expressjs\/express"/) + .expect(/"url":"https:\/\/github.com\/expressjs\/express"/) .expect(200, done) }) }) @@ -82,7 +82,7 @@ describe('web-service', function(){ .get('/api/user/loki/repos?api-key=foo') .expect('Content-Type', 'application/json; charset=utf-8') .expect(/"name":"stylus"/) - .expect(/"url":"http:\/\/github.com\/learnboost\/stylus"/) + .expect(/"url":"https:\/\/github.com\/learnboost\/stylus"/) .expect(200, done) })