Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Commit 46cf709

Browse files
committed
Merge branch 'github_master'
# Conflicts: # common/project.js
2 parents 24a5e63 + 799d8e5 commit 46cf709

File tree

7 files changed

+14
-9
lines changed

7 files changed

+14
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img width="100%" src="./hero.png"/>
1+
[<img alt="Feature Flag, Remote Config and A/B Testing platform, Bullet Train" width="100%" src="./hero.png"/>](https://bullet-train.io/)
22

33
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/Bullet-Train/donate)
44

common/project.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
module.exports = global.Project = {
2-
api: 'https://api.bullet-train.io/api/v1/',
3-
bulletTrain: '4vfqhypYjcPoGGu8ByrBaj', // This is our Bullet Train API key - Bullet Train runs on Bullet Train!
4-
env: 'prod', // This is used for Sentry tracking
5-
ga: 'UA-120237963-1', // This is our Google Analytics key
6-
sentry: 'https://[email protected]/1320942',
2+
api: 'https://api-dev.bullet-train.io/api/v1/',
3+
bulletTrainClientAPI: 'https://api.bullet-train.io/api/v1/',
4+
bulletTrain: '8KzETdDeMY7xkqkSkY3Gsg', // This is our Bullet Train API key - Bullet Train runs on Bullet Train!
5+
debug: false,
6+
env: 'dev', // This is used for Sentry tracking
7+
ga: 'UA-120237963-3', // This is our Google Analytics key
78
demoAccount: {
89
910
password: 'demo_account',
1011
},
1112
chargebee: {
12-
site: 'bullettrain',
13+
site: 'bullettrain-test',
1314
},
1415
crispChat: '8857f89e-0eb5-4263-ab49-a293872b6c19',
15-
mixpanel: '9448f5be8a5555c380e5dd4b7ac2c345',
16-
assetUrl: 'https://cdn.bullet-train.io', // Location of the static files from build/, should contain a directory called static/
16+
mixpanel: '6143f9ceefb1c67640a0771345e8c095',
1717
};

common/stores/config-store.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ store.dispatcherIndex = Dispatcher.register(store, (payload) => {
3535
bulletTrain.init({
3636
environmentID: Project.bulletTrain,
3737
onChange: controller.loaded,
38+
api: Project.bulletTrainClientAPI,
3839
});
3940

4041
controller.store = store;

env/project_dev.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = global.Project = {
22
api: 'https://api-dev.bullet-train.io/api/v1/',
3+
bulletTrainClientAPI: 'https://api.bullet-train.io/api/v1/',
34
bulletTrain: '8KzETdDeMY7xkqkSkY3Gsg', // This is our Bullet Train API key - Bullet Train runs on Bullet Train!
45
debug: false,
56
env: 'dev', // This is used for Sentry tracking

env/project_prod.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = global.Project = {
22
api: 'https://api.bullet-train.io/api/v1/',
3+
bulletTrainClientAPI: 'https://api.bullet-train.io/api/v1/',
34
bulletTrain: '4vfqhypYjcPoGGu8ByrBaj', // This is our Bullet Train API key - Bullet Train runs on Bullet Train!
45
env: 'prod', // This is used for Sentry tracking
56
ga: 'UA-120237963-1', // This is our Google Analytics key

env/project_staging.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = global.Project = {
22
api: 'https://api-staging.bullet-train.io/api/v1/',
3+
bulletTrainClientAPI: 'https://api.bullet-train.io/api/v1/',
34
bulletTrain: 'ENktaJnfLVbLifybz34JmX', // This is our Bullet Train API key - Bullet Train runs on Bullet Train!
45
env: 'staging', // This is used for Sentry tracking
56
ga: 'UA-120237963-7', // This is our Google Analytics key

environment.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ module.exports = {
88
sentry: process.env.SENTRY,
99
api: process.env.API_URL,
1010
assetURL: process.env.ASSET_URL,
11+
bulletTrainClientAPI: process.env.BULLET_TRAIN_CLIENT_API,
1112
}),
1213
};

0 commit comments

Comments
 (0)