Files are not saving to default directory on CollectionFS filesystem


#1

I’m just doing some very simple stuff. I want to save the files to .../myApp/cfs/files

var imageStore = new FS.Store.FileSystem("images");
...
Images.insert(url);

The docs say

var imageStore = new FS.Store.FileSystem("images", {
  path: "~/app-files/images", //optional, default is "/cfs/files" path within app container
});

But, my files are not saving to there. Not sure what I’m doing wrong. They were properly saving to ~/app-files/images when I set that option.