Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
bdd54bf0
Commit
bdd54bf0
authored
Sep 18, 2020
by
Wolfgang Knopki
Browse files
Update app.js, set env to production
parent
e3d37172
Changes
1
Hide whitespace changes
Inline
Side-by-side
app.js
View file @
bdd54bf0
...
...
@@ -18,7 +18,7 @@ i18n.configure({
directory
:
'
./locales
'
});
var
env
=
process
.
env
.
NODE_ENV
||
'
testing
'
;
var
env
=
process
.
env
.
NODE_ENV
||
'
production
'
;
const
config
=
require
(
'
./config/config
'
)[
env
];
var
app
=
express
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment