add shared server env to modules

This commit is contained in:
Stewart Allen 2020-07-06 18:36:57 -04:00
commit c033c6b4b8

1
app.js
View file

@ -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