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 2e43e52 commit 5787a7fCopy full SHA for 5787a7f
lib/configproxy.js
@@ -502,11 +502,12 @@ export class ConfigurableProxy extends EventEmitter {
502
options.target.searchParams.set("url", req.url);
503
options.target.pathname = options.target.pathname + code.toString()
504
505
+ var url = "";
506
if (options.target.socketPath) {
507
options.target.hostname = 'localhost'
- var url = options.target.toString().substring(5) // chop off unix+
508
+ url = options.target.toString().substring(5) // chop off unix+
509
} else {
- var url = options.target.toString()
510
+ url = options.target.toString()
511
}
512
513
this.log.debug("Requesting custom error page: %s", url);
0 commit comments