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 e9aedea commit 1c7dfd5Copy full SHA for 1c7dfd5
src/experiments.ts
@@ -23,11 +23,13 @@ export class ExperimentalSettings {
23
key: string,
24
extensionVersion: string,
25
private readonly sessionService: ISessionService,
26
- private readonly context: vscode.ExtensionContext,
27
private readonly logger: ILogService
28
) {
+ const config = vscode.workspace.getConfiguration('gitpod');
29
+ const host = config.get<string>('host');
30
+
31
this.configcatClient = configcat.createClientWithLazyLoad(key, {
- baseUrl: new URL('/configcat', this.context.extensionMode === vscode.ExtensionMode.Production ? 'https://gitpod.io' : 'https://gitpod-staging.com').href,
32
+ baseUrl: new URL('/configcat', host).href,
33
logger: {
34
debug(): void { },
35
log(): void { },
0 commit comments