Skip to content

Commit ee83406

Browse files
Fix app proxy url (#674)
1 parent b922438 commit ee83406

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/interface/cli/commands/app-proxy/install.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const installAppProxyHandler = new Command({
181181
const [getREErr, re] = await to(sdk.runtimeEnvs.get({ name: runtimeEnvironment }));
182182
await handleError(getREErr, 'Failed to get runtime environment');
183183

184-
const appProxyUrl = `https://${host}${argv.pathPrefix}`;
184+
const appProxyUrl = `https://${host}${argv.pathPrefix || ''}`;
185185

186186
const body = {
187187
appProxy: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.75.20",
3+
"version": "0.75.21",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)