Created
October 29, 2014 00:26
-
-
Save aaronthorp/56b26c874f2fdcb21cad to your computer and use it in GitHub Desktop.
Modulus.io CollectionFS Filesystem Tempstore fix
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
// Declare custom tempstore path for Modulus.io | |
// | |
// can also use: process.env.TEMP_DIR instead of "/mnt/data/tmp" | |
// | |
if (Meteor.isServer) { | |
FS.TempStore.Storage = new FS.Store.FileSystem("_tempstore", { | |
internal : true, | |
path : '/mnt/data/tmp', | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment