diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-29 13:18:05 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-29 13:18:05 +0100 |
commit | 86d13ec2aa94ec10810ddf9c8b33314bd4968791 (patch) | |
tree | 5c4175325362df2a92e367dc4077e53a700bfbad /server.ts | |
parent | 165cdc75bf1942ed687f78094c2bd366839a7c99 (diff) | |
download | PeerTube-86d13ec2aa94ec10810ddf9c8b33314bd4968791.tar.gz PeerTube-86d13ec2aa94ec10810ddf9c8b33314bd4968791.tar.zst PeerTube-86d13ec2aa94ec10810ddf9c8b33314bd4968791.zip |
Users list only available when use is authenticated
And has a special right
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ app.use(morgan('combined', { | |||
77 | })) | 77 | })) |
78 | // For body requests | 78 | // For body requests |
79 | app.use(bodyParser.json({ | 79 | app.use(bodyParser.json({ |
80 | type: 'application/*+json', | 80 | type: [ 'application/json', 'application/*+json' ], |
81 | limit: '500kb' | 81 | limit: '500kb' |
82 | })) | 82 | })) |
83 | app.use(bodyParser.urlencoded({ extended: false })) | 83 | app.use(bodyParser.urlencoded({ extended: false })) |