Closes #133, #162
This commit is contained in:
syuilo 2017-02-14 09:01:25 +09:00
parent c32954fb28
commit 0ccfa188e1

View file

@ -17,6 +17,7 @@ import config from './conf';
*/
const app = express();
app.disable('x-powered-by');
app.set('trust proxy', 'loopback');
// Log
app.use(morgan(process.env.NODE_ENV == 'production' ? 'combined' : 'dev', {