Supression dependance non nécessaire + passage en variables d'environnement

This commit is contained in:
2015-10-08 14:04:44 +02:00
parent 0c5e2443fe
commit 40707be387
9 changed files with 17 additions and 39 deletions

View File

@ -21,7 +21,7 @@ var LauncherView = React.createClass({
},
componentDidMount: function() {
var profilePath = this.props.processOpts.profile || DEFAULT_PROFILE;
var profilePath = process.env.PITAYA_PROFILE || DEFAULT_PROFILE;
this.props.dispatch(actions.common.loadProfile(profilePath));
},