You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,7 @@ The `options` object has the following fields:
119
119
|`subscriptions`| Object or String or `false`|`'/'`| Defines the subscriptions (websocket) endpoint for your server; accepts an object with [subscription server options](https://github.com/apollographql/subscriptions-transport-ws#constructoroptions-socketoptions)`path`, `keepAlive`, `onConnect` and `onDisconnect`; setting to `false` disables subscriptions completely |
120
120
|`playground`| String or `false`|`'/'`| Defines the endpoint where you can invoke the [Playground](https://github.com/graphcool/graphql-playground); setting to `false` disables the playground endpoint |
121
121
|`uploads`|[UploadOptions](/src/types.ts#L39-L43) or `false` or `undefined`|`null`| Provides information about upload limits; the object can have any combination of the following three keys: `maxFieldSize`, `maxFileSize`, `maxFiles`; each of these have values of type Number; setting to `false` disables file uploading |
122
+
|`https`|[HttpsOptions](/src/types.ts#L62-L65) or `undefined`|`undefined`| Enables HTTPS support with a key/cert |
122
123
123
124
Additionally, the `options` object exposes these `apollo-server` options:
0 commit comments