Feature: get user's accounts

This commit is contained in:
2015-10-01 09:09:48 +00:00
parent 8ed20ebf78
commit fdedcdcdff
17 changed files with 476 additions and 82 deletions

View File

@@ -10,7 +10,8 @@ router.get('*', function(req, res, next) {
var dotIndex = req.path.lastIndexOf('.'),
extension = dotIndex === - 1 ? '' : req.path.substr(dotIndex);
if( ['.js','.css','.html'].indexOf(extension) > -1 ) {
if( ['.js','.css','.html',
'.woff', '.woff2', '.ttf', '.svg', '.eot', '.otf'].indexOf(extension) > -1 ) {
next();
} else {
res.sendfile('./public/index.html');