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 ~ / 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   

Then you can refer to any property through your path, for example:

  assets.get binary ("upload / upload / Fu ");    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -