Created
March 11, 2014 00:13
-
-
Save aaronthorp/9477122 to your computer and use it in GitHub Desktop.
Meteor.JS Private and Public Folder Directories. @aaronthorp
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
// Root of Meteor.js App | |
meteor_root = Npm.require('fs').realpathSync( process.cwd() + '/../' ); | |
// Private Assets Folder of Meteor.JS App | |
assets_root = meteor_root + "/server/assets/app/"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was helpful, but looking at CollectionFS code internally I realized a slightly simpler way: