Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Baiang committed Jul 22, 2018
1 parent a20ff61 commit 943acd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion config/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const withSass = require('@zeit/next-sass')
const withCss = require('@zeit/next-css')
const withSourceMaps = require('@zeit/next-source-maps')


const commonsChunkConfig = require('@zeit/next-css/commons-chunk-config')

const { ANALYZE } = process.env;
Expand Down
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const handle = nextApp.getRequestHandler();
router.nextRoute(handle);
const app = new Koa();

app.use(logger());
!dev ? app.use(logger()) : '';
app.use(bodyParser());
app.use(requestId());
app.use(helmet());
Expand Down

0 comments on commit 943acd7

Please sign in to comment.