Closed giodamelio closed 10 years ago
index.html
need to be moved to /static
too, I think. Could you fix this?
Isn't index.html
an example?
Well, it will be my main page, for now it's just an example. But if I try to access /
it will break, because now files are at /static
.
Ahh, I get it. One sec.
There you go.
Thanks.
It is a bit safer to let express handle the static files. I also moved the static files into their own directory to keep anyone from requesting any other files.