Skip to content

Commit 26dfeee

Browse files
committed
Remove attr env to file config.
1 parent 5175a7b commit 26dfeee

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ app.set('view engine', 'hbs');
2727
app.set('views', path.join(__dirname, 'views'));
2828
app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
2929
app.use(express.static(path.join(__dirname, 'public')));
30-
app.use(logger(settings.env));
30+
app.use(logger('dev'));
3131
app.use(bodyParser.json());
3232
app.use(bodyParser.urlencoded({extended: true}));
3333
app.use(cookieParser());

config.example.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ var settings = {
1616
password: '##########',
1717
base: '##########'
1818
},
19-
env: 'dev',
2019
session: {
2120
secret: '##########'
2221
},

0 commit comments

Comments
 (0)