Meteor: how to serve static html file

Im uses Meteor with an IRON router, and it works great for dynamic files. But I have one statis legend.html file that I want to serve. I put it in a shared folder, but I get an error that the file could not be found.

Since it was created from a word, I cannot use the template as a shell.

What is the trick?

+4
source share
1 answer

put the static html file in the public folder, exclude / public from the URL:

http://yourdomain.com/yourfile.html

not

http://yourdomain.com/public/yourfile.html

+8
source

All Articles