We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a870e commit 3cc1975Copy full SHA for 3cc1975
src/registry/domain/options-sanitiser.ts
@@ -68,7 +68,7 @@ export default function optionsSanitiser(input: Input): Config {
68
options.customHeadersToSkipOnWeakVersion || []
69
).map(s => s.toLowerCase());
70
71
- options.port = Number(process.env['PORT'] || options.port);
+ options.port = options.port || process.env['PORT'];
72
options.timeout = options.timeout || 1000 * 60 * 2;
73
options.keepAliveTimeout =
74
options.keepAliveTimeout || DEFAULT_NODE_KEEPALIVE_MS;
0 commit comments