Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
feat: API_HOST设置
Browse files Browse the repository at this point in the history
  • Loading branch information
sydeEvans committed Jun 8, 2017
1 parent 0161526 commit a96b433
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ module.exports = appInfo => {
defaultExtension: '.nj',
};


config.apiHost = 'https://remotex.ooclab.org';
config.apiHost = process.env.API_HOST || 'https://remotex.ooclab.org';

return config;
};

0 comments on commit a96b433

Please sign in to comment.