mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-27 22:59:51 -05:00
fix: remove stringify with space responses (#3364)
This commit is contained in:
parent
b000fafc2d
commit
90e7cfd1ed
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ export function final(body: FinalBody, req: $RequestExtend, res: $ResponseExtend
|
|||
if (typeof (body as MiddlewareError).error === 'string') {
|
||||
res.locals._verdaccio_error = (body as MiddlewareError).error;
|
||||
}
|
||||
body = JSON.stringify(body, undefined, ' ') + '\n';
|
||||
body = JSON.stringify(body);
|
||||
}
|
||||
|
||||
// don't send etags with errors
|
||||
|
|
Loading…
Add table
Reference in a new issue