-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify the
sails.config.environment
and NODE_ENV settings as soon a…
…s they're available. If `sails.config.environment` is "production" and NODE_ENV is undefined, set NODE_ENV to production and log warning. If `sails.config.environment` is "production" and NODE_ENV is a string other than "production", fail to lift Sails with an error.
- Loading branch information
Showing
2 changed files
with
98 additions
and
16 deletions.
There are no files selected for viewing
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
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