събота, 9 март 2013 г.

Static Resources with node.js and express


To use static resources with node.js and the express framework you should put all your code in a folder "static" and tell node.js to serve the static pages:

app.use(express.static('static'));

Няма коментари:

Публикуване на коментар