Skip to content

Commit

Permalink
add default remote address
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene.antonevich committed Dec 22, 2020
1 parent 41a24a6 commit 6d9b668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class Context {
isLoginRequired: true,
customWorkspaceId: undefined,
customEnvironment: undefined,
address: this.apiHost,
address: this.apiHost || this.resolveMainServerAddress(),
};

const { customEnvironment, customWorkspaceId, isLoginRequired, address } = options
Expand Down

0 comments on commit 6d9b668

Please sign in to comment.