Uploading images to Meteor, uploading empty files

I am working on a meteor structure and trying to load images in one of my applications using the code from the link

https://gist.github.com/3922137

Everything works well, except that it uploads an empty file to my application’s shared folder.

I checked the console and found a 503 error there after I selected the file to upload

Here is a screenshot of the console http://img40.imageshack.us/img40/2956/consolewl.jpg

It continues to cycle and the number of errors continues to be added to the console.

I use a meteorite on the windows.

Has anyone managed to upload files to Meteor on a Windows platform? and if so, can you share with him the code that worked for you.

Thanks Aman

+4
source share
1 answer

The reason you get 503 is because when something in the shared folder changes the reload of meteors. As your downloads go there, the server is reset. Change your code so that it is not saved in public, but rather in a different place, and you should see that the error has disappeared.

+2
source

Source: https://habr.com/ru/post/1443308/


All Articles