add shared server env to modules
This commit is contained in:
parent
a5ba797312
commit
c033c6b4b8
1 changed files with 1 additions and 0 deletions
1
app.js
1
app.js
|
|
@ -152,6 +152,7 @@ function initModule(mod, file, dir) {
|
||||||
rootdir: mod.dir,
|
rootdir: mod.dir,
|
||||||
version: version
|
version: version
|
||||||
},
|
},
|
||||||
|
env: mod.env,
|
||||||
pkg: {
|
pkg: {
|
||||||
agent,
|
agent,
|
||||||
moment
|
moment
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue