瀏覽代碼

Updates gk urls

main
Eric Amodio 2 年之前
父節點
當前提交
4c33219d3f
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. +3
    -3
      src/plus/subscription/serverConnection.ts
  2. +3
    -3
      src/plus/subscription/subscriptionService.ts

+ 3
- 3
src/plus/subscription/serverConnection.ts 查看文件

@ -55,14 +55,14 @@ export class ServerConnection implements Disposable {
@memoize() @memoize()
private get baseAccountUri(): Uri { private get baseAccountUri(): Uri {
if (this.container.env === 'staging') { if (this.container.env === 'staging') {
return Uri.parse('https://stagingaccount.gitkraken.com');
return Uri.parse('https://stagingapp.gitkraken.com');
} }
if (this.container.env === 'dev') { if (this.container.env === 'dev') {
return Uri.parse('https://devaccount.gitkraken.com');
return Uri.parse('https://devapp.gitkraken.com');
} }
return Uri.parse('https://account.gitkraken.com');
return Uri.parse('https://app.gitkraken.com');
} }
abort(): Promise<void> { abort(): Promise<void> {

+ 3
- 3
src/plus/subscription/subscriptionService.ts 查看文件

@ -135,14 +135,14 @@ export class SubscriptionService implements Disposable {
private get baseAccountUri(): Uri { private get baseAccountUri(): Uri {
const { env } = this.container; const { env } = this.container;
if (env === 'staging') { if (env === 'staging') {
return Uri.parse('https://stagingaccount.gitkraken.com');
return Uri.parse('https://stagingapp.gitkraken.com');
} }
if (env === 'dev') { if (env === 'dev') {
return Uri.parse('https://devaccount.gitkraken.com');
return Uri.parse('https://devapp.gitkraken.com');
} }
return Uri.parse('https://account.gitkraken.com');
return Uri.parse('https://app.gitkraken.com');
} }
@memoize() @memoize()

Loading…
取消
儲存