Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 39cf461

Browse files
committed
Update URLs to HTTPS
1 parent f54a43d commit 39cf461

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Build Status](https://travis-ci.org/graphql/express-graphql.svg?branch=master)](https://travis-ci.org/graphql/express-graphql)
44
[![Coverage Status](https://coveralls.io/repos/graphql/express-graphql/badge.svg?branch=master&service=github)](https://coveralls.io/github/graphql/express-graphql?branch=master)
55

6-
Create a GraphQL HTTP server with any HTTP web framework that supports connect styled middleware, including [Connect](https://github.com/senchalabs/connect) itself, [Express](http://expressjs.com) and [Restify](http://restify.com/).
6+
Create a GraphQL HTTP server with any HTTP web framework that supports connect styled middleware, including [Connect](https://github.com/senchalabs/connect) itself, [Express](https://expressjs.com) and [Restify](http://restify.com/).
77

88
## Installation
99

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"repository": {
1414
"type": "git",
15-
"url": "http://github.com/graphql/express-graphql.git"
15+
"url": "https://github.com/graphql/express-graphql.git"
1616
},
1717
"keywords": [
1818
"express",

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ function graphqlHTTP(options: Options): Middleware {
333333
})
334334
.then(result => {
335335
// Collect and apply any metadata extensions if a function was provided.
336-
// http://graphql.github.io/graphql-spec/#sec-Response-Format
336+
// https://graphql.github.io/graphql-spec/#sec-Response-Format
337337
if (result && extensionsFn) {
338338
return Promise.resolve(
339339
extensionsFn({
@@ -362,7 +362,7 @@ function graphqlHTTP(options: Options): Middleware {
362362
// error, indicate as such with a generic status code.
363363
// Note: Information about the error itself will still be contained in
364364
// the resulting JSON payload.
365-
// http://graphql.github.io/graphql-spec/#sec-Data
365+
// https://graphql.github.io/graphql-spec/#sec-Data
366366
if (response.statusCode === 200 && result && !result.data) {
367367
response.statusCode = 500;
368368
}

0 commit comments

Comments
 (0)