On Sat, 13 Jun 2015 18:26:22 GMT, Suliman wrote:
What path should I set when I am hosting static page?
<link rel="stylesheet" type="text/css" href="site.css">
after running site on locahost css file do not handling, so it's path should be to another value.
lol, I hit 'tab' 'space x 4' trying to indent, and triple posted...
Anyways, my css directory is in the public folder, located at projectname/public/css. Set the public directory with the line:
router.get("*", serveStaticFiles("./public/"));