Skip to content

Commit

Permalink
Merge pull request #240 from htdangkhoa/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
htdangkhoa committed Jan 23, 2022
2 parents 3af9f69 + 0d36711 commit d76e332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import favicon from 'serve-favicon';
import compression from 'compression';
import serve from 'serve-static';

import websocketServerCreator from './websocket-server-creator';
import render from '../render';
import users from '../db/users.json';

Expand All @@ -17,6 +16,7 @@ app.use(helmet({ contentSecurityPolicy: false }));
app.use(serve(resolve(process.cwd(), 'public')));

/* istanbul ignore next */
const websocketServerCreator = __DEV__ ? require('./websocket-server-creator').default : undefined;
const webpackMiddleware = __DEV__ ? require('../middlewares/webpack.middleware').default : undefined;

/* istanbul ignore next */
Expand Down

0 comments on commit d76e332

Please sign in to comment.