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.
2 parents b9b3f5d + 88f35c4 commit 22e6f46Copy full SHA for 22e6f46
bin/proxy/config.js
@@ -27,7 +27,7 @@ if (global[__filename]) {
27
}
28
29
if (typeof processArgs.config === 'string') {
30
- cache.config = path.join(cwd, processArgs.config);
+ cache.config = require(path.resolve(cwd, processArgs.config));
31
} else if (fs.existsSync(currConfig)) {
32
cache.config = require(currConfig);
33
} else if (fs.existsSync('/etc/tsw.config.js')) {
0 commit comments