Skip to content
Permalink
Browse files

Tweaking settings for data and public folders

  • Loading branch information...
andrewshell committed Mar 1, 2015
1 parent 0232cec commit ab331a6bb471ea9e9d8480904d03de89919bb27e
Showing with 8 additions and 3 deletions.
  1. +4 −3 app.js
  2. +2 −0 data/.gitignore
  3. +2 −0 public/.gitignore
7 app.js
@@ -28,9 +28,10 @@ var app = express();
app.engine('handlebars', exphbs({defaultLayout: 'main'}));
app.set('view engine', 'handlebars');

/*jslint nomen: true*/
app.use(express.static(__dirname + '/public'));
/*jslint nomen: false*/
app.use(express.static('public', {
dotfiles: 'ignore',
maxAge: '1d'
}));
app.use(require('./controllers'));

var server = app.listen(nconf.get('PORT'), function () {
@@ -0,0 +1,2 @@
!.gitignore

@@ -0,0 +1,2 @@
!.gitignore

0 comments on commit ab331a6

Please sign in to comment.
You can’t perform that action at this time.