mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-03-01 10:24:40 +08:00
added maxParamLength for Restify
This commit is contained in:
parent
4ec6ec92e4
commit
50eac42965
1 changed files with 1 additions and 0 deletions
1
api.js
1
api.js
|
@ -32,6 +32,7 @@ const dkimRoutes = require('./lib/api/dkim');
|
|||
const serverOptions = {
|
||||
name: 'WildDuck API',
|
||||
strictRouting: true,
|
||||
maxParamLength: 196,
|
||||
formatters: {
|
||||
'application/json; q=0.4': (req, res, body) => {
|
||||
let data = body ? JSON.stringify(body, false, 2) + '\n' : 'null';
|
||||
|
|
Loading…
Reference in a new issue