Tested with the dashboard, it now works great.

This commit is contained in:
Drew Gross
2016-03-28 18:43:06 -07:00
parent cd05e3bd19
commit 75f49b4d1a
2 changed files with 5 additions and 10 deletions

View File

@@ -228,12 +228,9 @@ class ParseServer {
new LogsRouter(),
new IAPValidationRouter(),
new FeaturesRouter(),
new GlobalConfigRouter(),
];
if (process.env.PARSE_EXPERIMENTAL_CONFIG_ENABLED || process.env.TESTING) {
routers.push(new GlobalConfigRouter());
}
if (process.env.PARSE_EXPERIMENTAL_HOOKS_ENABLED || process.env.TESTING) {
routers.push(new HooksRouter());
}