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 d6f9e0d commit d478eddCopy full SHA for d478edd
packages/git-proxy-cli/index.js
@@ -7,8 +7,8 @@ const util = require('util');
7
8
const GIT_PROXY_COOKIE_FILE = 'git-proxy-cookie';
9
// 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;
+const { GIT_PROXY_UI_HOST: uiHost = 'http://localhost', GIT_PROXY_UI_PORT: uiPort = 8080 } = process.env;
+
12
const baseUrl = `${uiHost}:${uiPort}`;
13
14
axios.defaults.timeout = 30000;
0 commit comments