Skip to content

Commit

Permalink
Fix app proxy url (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
roi-codefresh authored May 19, 2021
1 parent b922438 commit ee83406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/interface/cli/commands/app-proxy/install.cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const installAppProxyHandler = new Command({
const [getREErr, re] = await to(sdk.runtimeEnvs.get({ name: runtimeEnvironment }));
await handleError(getREErr, 'Failed to get runtime environment');

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

const body = {
appProxy: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codefresh",
"version": "0.75.20",
"version": "0.75.21",
"description": "Codefresh command line utility",
"main": "index.js",
"preferGlobal": true,
Expand Down

0 comments on commit ee83406

Please sign in to comment.