Created
February 22, 2017 03:06
-
-
Save aloerina01/5056c587e828980655b15547409c30c2 to your computer and use it in GitHub Desktop.
NODE_ENVを見て読み込むファイルを切り替える方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const config = { | |
API_ORIGIN: 'https://example-beta.com/api/' // 開発環境用 | |
} | |
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const config = { | |
API_ORIGIN: 'https://example.com/api/' | |
} | |
module.exports = config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment