Skip to content

Commit

Permalink
[lib/keyserver] configure Tunnelbroker URL
Browse files Browse the repository at this point in the history
Summary: Change updates URL to staging and proper scheme.

Test Plan: Tested if keyserver and  client can connect with staging, for prod I'll test that after release.

Reviewers: bartek, michal

Reviewed By: michal

Subscribers: ashoat, tomek, wyilio

Differential Revision: https://phab.comm.dev/D9730
  • Loading branch information
xsanm committed Nov 7, 2023
1 parent 3e642ee commit 3c03d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keyserver/src/socket/tunnelbroker.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function getTBConnectionInfo(): Promise<TBConnectionInfo> {

console.warn('Defaulting to local Tunnelbroker instance');
return {
url: 'ws://127.0.0.1:51001',
url: 'wss://tunnelbroker.staging.commtechnologies.org:51001',
};
}

Expand Down
4 changes: 2 additions & 2 deletions lib/facts/tunnelbroker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { isDev } from '../utils/dev-utils.js';

const tunnnelbrokerURL: string = isDev
? 'ws://localhost:51001'
: 'https://tunnelbroker.commtechnologies.org';
? 'wss://tunnelbroker.staging.commtechnologies.org:51001'
: 'wss://tunnelbroker.commtechnologies.org:51001';

export { tunnnelbrokerURL };

0 comments on commit 3c03d95

Please sign in to comment.