We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5175a7b commit 26dfeeeCopy full SHA for 26dfeee
app.js
@@ -27,7 +27,7 @@ app.set('view engine', 'hbs');
27
app.set('views', path.join(__dirname, 'views'));
28
app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
29
app.use(express.static(path.join(__dirname, 'public')));
30
-app.use(logger(settings.env));
+app.use(logger('dev'));
31
app.use(bodyParser.json());
32
app.use(bodyParser.urlencoded({extended: true}));
33
app.use(cookieParser());
config.example.js
@@ -16,7 +16,6 @@ var settings = {
16
password: '##########',
17
base: '##########'
18
},
19
- env: 'dev',
20
session: {
21
secret: '##########'
22
0 commit comments