Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meteor: How to serve a static html file

Im using Meteor with IRON router and it's working great for dynamic files. But I have one statis legend.html file which I want to serve. I placed it in the public folder, but I get the error that the file can't be found.

As it has been generated from word, I'm unable to use a template as wrapper.

What is the trick?

like image 842
Bigfoot Avatar asked Feb 10 '23 06:02

Bigfoot


1 Answers

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

http://yourdomain.com/yourfile.html

not

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

like image 83
bya Avatar answered Mar 02 '23 01:03

bya