Skip to content

WIP: Use node-config to read app config

Alf Eaton requested to merge node-config into master

pubsweet-server no longer has a config.js file, so use node-config to get the app config.

I think the load-config.js file can also be removed as it doesn't need to set process.env.NODE_CONFIG_DIR any more, but I'm not sure so haven't done that here.

There needs to be a new release of pubsweet-server before this can be tested with updated dependencies.

Merge request reports