Skip to content

Commit 2e7df8c

Browse files
committed
Fix app.keys type
1 parent 0078cb9 commit 2e7df8c

File tree

1 file changed

+1
-1
lines changed
  • docusaurus/docs/dev-docs/configurations

1 file changed

+1
-1
lines changed

docusaurus/docs/dev-docs/configurations/server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The `./config/server.js` file can include the following parameters:
2323
|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|---------------------|
2424
| `host`<br/><br/>❗️ _Mandatory_ | Host name | string | `localhost` |
2525
| `port`<br/><br/>❗️ _Mandatory_ | Port on which the server should be running. | integer | `1337` |
26-
| `app.keys`<br/><br/>❗️ _Mandatory_ | Declare session keys (based on [Koa session](https://github.com/koajs/session/blob/master/Readme.md)), which is used by the `session` middleware for the Users & Permissions plugin and the Documentation plugin. | string | `undefined` |
26+
| `app.keys`<br/><br/>❗️ _Mandatory_ | Declare session keys (based on [Koa session](https://github.com/koajs/session/blob/master/Readme.md)), which is used by the `session` middleware for the Users & Permissions plugin and the Documentation plugin. | array of strings | `undefined` |
2727
| `socket` | Listens on a socket. Host and port are cosmetic when this option is provided and likewise use `url` to generate proper urls when using this option. This option is useful for running a server without exposing a port and using proxy servers on the same machine (e.g [Heroku nginx buildpack](https://github.com/heroku/heroku-buildpack-nginx#requirements-proxy-mode)) | string \| integer | `/tmp/nginx.socket` |
2828
| `emitErrors` | Enable errors to be emitted to `koa` when they happen in order to attach custom logic or use error reporting services. | boolean | `false` |
2929
| `url` | Public url of the server. Required for many different features (ex: reset password, third login providers etc.). Also enables proxy support such as Apache or Nginx, example: `https://mywebsite.com/api`. The url can be relative, if so, it is used with `http://${host}:${port}` as the base url. An absolute url is however recommended. | string | `''` |

0 commit comments

Comments
 (0)