File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,7 @@ ARG VERSION_ARG
55RUN apt-get update && apt-get install -y git
66# install tardis-machine globally (exposes tardis-machine command)
77RUN npm install --global --unsafe-perm tardis-machine@$VERSION_ARG
8+
9+ ENV UWS_HTTP_MAX_HEADERS_SIZE=20000
810# run it
911CMD tardis-machine --cache-dir=/.cache
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
2-
2+ process . env . UWS_HTTP_MAX_HEADERS_SIZE = '20000'
33const yargs = require ( 'yargs' )
44const os = require ( 'os' )
55const path = require ( 'path' )
Original file line number Diff line number Diff line change 1313 "scripts" : {
1414 "build" : " tsc" ,
1515 "precommit" : " lint-staged" ,
16- "test" : " npm run build && jest --forceExit --runInBand" ,
16+ "test" : " export UWS_HTTP_MAX_HEADERS_SIZE=20000 && npm run build && jest --forceExit --runInBand" ,
1717 "prepare" : " npm run build" ,
1818 "format" : " prettier --write ." ,
1919 "check-format" : " prettier --check ." ,
You can’t perform that action at this time.
0 commit comments