javascript - Find location of Meteor Assets -
I have a folder on my machine, which is running my meteor app, while I am adding files. Its path is able to successfully use the Then you can refer to any property through your path, for example: ~ / upload i
assets.getbayer () to the
private folder, but outside of my meteor project Not a folder. How do I use
Assets.getBinary () where the location of a file is
~ / uploads / foo ?
Assets .getBinary () is not a way to send a personal directory Is not a descendant of If you want to keep an asset outside of private property, to share them among applications, you can symlink the folder in your personal directory.
CD and more in your personal directory:
ln -s ~ / Upload upload
assets.get binary ("upload / upload / Fu ");
Comments
Post a Comment