Authored by 毕凯

忽略一些检查文件

bundle/**/*.js
dist/**/*.js
\ No newline at end of file
... ...
css/**/*.css
dist/**/*.css
\ No newline at end of file
... ...
... ... @@ -6,7 +6,6 @@
var express = require('express'),
path = require('path'),
hbs = require('express-handlebars'),
bodyParser = require('body-parser'),
favicon = require('serve-favicon'),
cookieParser = require('cookie-parser');
... ... @@ -15,10 +14,11 @@ var app = express();
app.set('view engine', '.hbs');
app.use(favicon(path.join(__dirname, '/public/favicon.ico')));
app.use(express.static(path.join(__dirname, 'public')));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: false}));
app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public')));
// dispatcher
require('./dispatch')(app);
... ...