Skip to content

Commit

Permalink
chore: Change hub.codezero.io to codezero.io (#115)
Browse files Browse the repository at this point in the history
Co-authored-by: Robb Lovell <[email protected]>
  • Loading branch information
robblovell and robblovell committed Dec 8, 2020
1 parent d24a339 commit 218976c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions packages/c6o-system/src/mixins/createInquire.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ export const createInquireMixin = (base: baseProvisionerType) => class extends b
if (answers.env === 'development')
this.spec.hubServerURL = process.env.HUB_SERVER_URL || `https://c6o-${process.env.USER}.serveo.net`
else if (answers.env === 'staging')
this.spec.hubServerURL = 'https://staging.hub.codezero.io'
this.spec.hubServerURL = 'https://staging.codezero.io'
else
this.spec.hubServerURL = 'https://hub.codezero.io'
this.spec.hubServerURL = 'https://codezero.io'
}
}
18 changes: 9 additions & 9 deletions packages/c6o-system/src/mixins/createValidate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ import { baseProvisionerType } from '../'
export const createValidateMixin = (base: baseProvisionerType) => class extends base {

hubToClusterMap = {
'https://develop.hub.codezero.io': 'codezero.dev',
'https://staging.hub.codezero.io': 'codezero.dev',
'https://hub.codezero.io': 'codezero.cloud'
'https://develop.codezero.io': 'codezero.dev',
'https://staging.codezero.io': 'codezero.dev',
'https://codezero.io': 'codezero.cloud'
}

hubToFeatureKeyMap = {
'https://develop.hub.codezero.io': '2esfjsm95kkj0c8nc7rrlh320c7omri0hu1s',
'https://staging.hub.codezero.io': 'b510uri5ep25aspo5u8pi94nv3fdgffkhen9',
'https://hub.codezero.io': 'p2h2meb6rh5d9ac16nskh62ee1h6gs2thnv1'
'https://develop.codezero.io': '2esfjsm95kkj0c8nc7rrlh320c7omri0hu1s',
'https://staging.codezero.io': 'b510uri5ep25aspo5u8pi94nv3fdgffkhen9',
'https://codezero.io': 'p2h2meb6rh5d9ac16nskh62ee1h6gs2thnv1'
}

hubToStripeKeyMap = {
'https://develop.hub.codezero.io': 'pk_test_51HXVWKKjz7Cmz2tekhX1kNx5BZXiKn0j4ROatZMROTwHDOwJPl6bnTNsH1DIqxde90FkzTCi9Ix6x5aQxhCuLr7D00tcbfVwNC',
'https://staging.hub.codezero.io': 'pk_test_51HXVWKKjz7Cmz2tekhX1kNx5BZXiKn0j4ROatZMROTwHDOwJPl6bnTNsH1DIqxde90FkzTCi9Ix6x5aQxhCuLr7D00tcbfVwNC',
'https://hub.codezero.io': 'pk_live_51HXVWKKjz7Cmz2te0QAP3Z3361Wmpia5EyYBY4CRSM61XrPqEOX4kIg7AWmKTAGeHGxyG9KTGANo94HJvACIibpc00pwdf0L1W'
'https://develop.codezero.io': 'pk_test_51HXVWKKjz7Cmz2tekhX1kNx5BZXiKn0j4ROatZMROTwHDOwJPl6bnTNsH1DIqxde90FkzTCi9Ix6x5aQxhCuLr7D00tcbfVwNC',
'https://staging.codezero.io': 'pk_test_51HXVWKKjz7Cmz2tekhX1kNx5BZXiKn0j4ROatZMROTwHDOwJPl6bnTNsH1DIqxde90FkzTCi9Ix6x5aQxhCuLr7D00tcbfVwNC',
'https://codezero.io': 'pk_live_51HXVWKKjz7Cmz2te0QAP3Z3361Wmpia5EyYBY4CRSM61XrPqEOX4kIg7AWmKTAGeHGxyG9KTGANo94HJvACIibpc00pwdf0L1W'
}

hubToCluster = (hubURL) => {
Expand Down

0 comments on commit 218976c

Please sign in to comment.