Created
November 6, 2013 07:03
-
-
Save emgee3/7332090 to your computer and use it in GitHub Desktop.
meteor self-destruct code for devel only packages
This file contains hidden or 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
Meteor.startup(function () { | |
if (__meteor_runtime_config__) { | |
if (__meteor_runtime_config__.ROOT_URL.indexOf('localhost') !== -1) | |
return; | |
} | |
console.log("FATAL ERROR --- "); | |
process.exit(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment