mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
formatting
This commit is contained in:
parent
f929292524
commit
d781d7c50b
20
app.js
20
app.js
@ -1,13 +1,13 @@
|
|||||||
var express = require('express'),
|
var express = require('express');
|
||||||
bodyParser = require('body-parser'),
|
var bodyParser = require('body-parser');
|
||||||
cookieParser = require('cookie-parser'),
|
var cookieParser = require('cookie-parser');
|
||||||
log4js = require('log4js'),
|
var log4js = require('log4js');
|
||||||
logger = require('./lib/logger'),
|
var logger = require('./lib/logger');
|
||||||
routes = require('./lib/routes'),
|
var routes = require('./lib/routes');
|
||||||
validator = require('express-validator'),
|
var validator = require('express-validator');
|
||||||
app = express(),
|
var app = express();
|
||||||
router = express.Router(), // eslint-disable-line
|
var router = express.Router(); // eslint-disable-line
|
||||||
baseUriPath = process.env.BASE_URI_PATH || '';
|
var baseUriPath = process.env.BASE_URI_PATH || '';
|
||||||
|
|
||||||
if (app.get('env') === 'development') {
|
if (app.get('env') === 'development') {
|
||||||
app.use(require('errorhandler')());
|
app.use(require('errorhandler')());
|
||||||
|
Loading…
Reference in New Issue
Block a user