Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
shopping-mall
Commits
922beb40
Commit
922beb40
authored
Feb 01, 2021
by
Yoon, Daeki
😅
Browse files
node env
parent
d9744453
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/config.js
View file @
922beb40
const
config
=
{
env
:
process
.
env
.
NODEENV
||
'
development
'
,
env
:
process
.
env
.
NODE
_
ENV
||
'
development
'
,
port
:
process
.
env
.
PORT
||
3001
,
jwtSecret
:
process
.
env
.
JWT_SECRET
||
'
My_Secret_Key
'
,
mongoDbUri
:
process
.
env
.
MONGEDB_URI
||
'
mongodb://localhost/shopping-mall
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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