Authored by 周少峰

Merge branch 'release/hbs' of git.yoho.cn:fe/yohobuy-node into release/hbs

Showing 1 changed file with 3 additions and 2 deletions
... ... @@ -15,7 +15,7 @@ const yohoLib = require('yoho-node-lib');
yohoLib.global(config);
const express = require('express');
const compression = require('compression');
//const compression = require('compression');
const path = require('path');
const bodyParser = require('body-parser');
const cookieParser = require('cookie-parser');
... ... @@ -51,7 +51,8 @@ app.use(express.static(path.join(__dirname, 'public')));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: false}));
app.use(cookieParser());
app.use(compression());
// app.use(compression());
app.use(session({
name: 'yohobuy_session_cookie',
... ...