소스 검색

去除api记录

maguohua 7 년 전
부모
커밋
1b373c028d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app.js

+ 2 - 2
app.js

@@ -9,7 +9,7 @@ import winston from 'winston';
 import expressWinston from 'express-winston';
 import path from 'path';
 import history from 'connect-history-api-fallback';
-import Statistic from './middlewares/statistic'
+// import Statistic from './middlewares/statistic'
 
 const app = express();
 
@@ -26,7 +26,7 @@ app.all('*', (req, res, next) => {
 	}
 });
 
-app.use(Statistic.apiRecord)
+// app.use(Statistic.apiRecord)
 const MongoStore = connectMongo(session);
 app.use(cookieParser());
 app.use(session({