Hey Tony, Glad you're trying out node! If you want to create a separate application that hosts your static html, it is possible to do this using an article by Heroku's own Kenneth http://kennethreitz.com/static-sites-on-heroku-cedar.html . If you already have a Node.js site and the static content is related to that, you can serve static pages from a public directory in your Node.js app, but it requires a little configuration. If you want to give access to all static elements in a directory you can check out this tutorial at site point: http://www.sitepoint.com/serving-static-files-with-node-js/ which uses node-static or if you just want to do it on a file-by-file basis you can use this stack-overflow article: http://stackoverflow.com/questions/4720343/loading-basic-html-in-nodejs. Hope that helps.
-- You received this message because you are subscribed to the Google Groups "Heroku" group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/MroOJhh2LKQJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
