UNPKG
dflzm
Version:
latest (0.4.0)
0.4.0
0.3.0
0.2.0
x
dflzm
/
config
/
app.js
16 lines
(13 loc)
•
288 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const
port =
3040
const
domain = {}
if
(process.env.NODE_ENV ===
'developmen
t
') { domain.web = '
http:
//0.0.0.0:3040'
domain.
static
=
'http
:
//0.0.0.0:3040'
}
else
{ domain.web =
'http
:
//0.0.0.0:3040'
domain.
static
=
'http
:
//0.0.0.0:3040'
} module.exports = { port, domain, }