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
Project Page
Commits
ebef7132
Commit
ebef7132
authored
4 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
Update app.js, change env to production
parent
7a70f1d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app.js
+1
-1
app.js
with
1 addition
and
1 deletion
+1
-1
app.js
+
1
-
1
View file @
ebef7132
...
@@ -10,7 +10,7 @@ const fileUpload = require('express-fileupload')
...
@@ -10,7 +10,7 @@ const fileUpload = require('express-fileupload')
const
helmet
=
require
(
'
helmet
'
)
const
helmet
=
require
(
'
helmet
'
)
const
compression
=
require
(
'
compression
'
)
const
compression
=
require
(
'
compression
'
)
var
env
=
process
.
env
.
NODE_ENV
||
'
testing
'
var
env
=
process
.
env
.
NODE_ENV
||
'
production
'
const
config
=
require
(
'
./config/config
'
)[
env
]
const
config
=
require
(
'
./config/config
'
)[
env
]
var
app
=
express
()
var
app
=
express
()
...
...
This diff is collapsed.
Click to expand it.
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