Authored by yyq

修改配置信息

Showing 1 changed file with 1 additions and 1 deletions
@@ -51,7 +51,7 @@ app.engine('.hbs', hbs({ @@ -51,7 +51,7 @@ app.engine('.hbs', hbs({
51 app.use(favicon(path.join(__dirname, '/public/favicon.ico'))); 51 app.use(favicon(path.join(__dirname, '/public/favicon.ico')));
52 app.use(express.static(path.join(__dirname, 'public'))); 52 app.use(express.static(path.join(__dirname, 'public')));
53 app.use(bodyParser.json()); 53 app.use(bodyParser.json());
54 -app.use(bodyParser.urlencoded({extended: false})); 54 +app.use(bodyParser.urlencoded({extended: true}));
55 app.use(cookieParser()); 55 app.use(cookieParser());
56 app.use(multer()); 56 app.use(multer());
57 57