Skip to content

Instantly share code, notes, and snippets.

@aaronthorp
Created October 29, 2014 00:26
Show Gist options
  • Save aaronthorp/56b26c874f2fdcb21cad to your computer and use it in GitHub Desktop.
Save aaronthorp/56b26c874f2fdcb21cad to your computer and use it in GitHub Desktop.
Modulus.io CollectionFS Filesystem Tempstore fix
// 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