diff options
author | bignerd95 <lorenzo.santina@gmail.com> | 2013-06-28 11:15:38 +0200 |
---|---|---|
committer | bignerd95 <lorenzo.santina@gmail.com> | 2013-06-28 11:15:38 +0200 |
commit | da9099460799fd51035836e120ac99d707a83bde (patch) | |
tree | 0673e98469d82e6959516af26a67f0c30eeab19c /.gitignore | |
parent | 83cf5017179c4ce3ba150ab7551bad57946825ee (diff) |
Adjusting example
app.get('/', function(req, res) {
res.render('index.html');
});
is not needed because
app.use(express.static(__dirname + '/public'));
allow reading any file from /public folder
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions