Hide /config behind PARSE_EXPERIMENTAL_CONFIG_ENABLED flag

This commit is contained in:
Peter Theill
2016-02-11 01:06:25 +01:00
parent ba68a7969e
commit fb6af2cfa0
2 changed files with 4 additions and 2 deletions

View File

@@ -121,7 +121,9 @@ function ParseServer(args) {
router.merge(require('./installations'));
router.merge(require('./functions'));
router.merge(require('./schemas'));
router.merge(require('./global_config'));
if (process.env.PARSE_EXPERIMENTAL_CONFIG_ENABLED) {
router.merge(require('./global_config'));
}
batch.mountOnto(router);