Skip to content

Commit d478edd

Browse files
committed
chore(ts): attempt to fix failing CLI tests
1 parent d6f9e0d commit d478edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/git-proxy-cli/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const util = require('util');
77

88
const GIT_PROXY_COOKIE_FILE = 'git-proxy-cookie';
99
// GitProxy UI HOST and PORT (configurable via environment variable)
10-
const { GIT_PROXY_UI_HOST: uiHost, GIT_PROXY_UI_PORT: uiPort } =
11-
require('@finos/git-proxy/src/config/env').serverConfig;
10+
const { GIT_PROXY_UI_HOST: uiHost = 'http://localhost', GIT_PROXY_UI_PORT: uiPort = 8080 } = process.env;
11+
1212
const baseUrl = `${uiHost}:${uiPort}`;
1313

1414
axios.defaults.timeout = 30000;

0 commit comments

Comments
 (0)