Add route to set/unset the registry config

This commit is contained in:
Girish Ramakrishnan
2018-10-12 17:04:04 -07:00
parent f86d4f0755
commit 5366524dc0
3 changed files with 62 additions and 1 deletions
+2
View File
@@ -237,6 +237,8 @@ function initializeExpressSync() {
router.get ('/api/v1/settings/appstore_config', appstoreScope, verifyOperator, routes.settings.getAppstoreConfig);
router.post('/api/v1/settings/appstore_config', appstoreScope, verifyOperator, routes.settings.setAppstoreConfig);
router.post('/api/v1/settings/registry_config', appstoreScope, verifyOperator, routes.settings.setRegistryConfig);
// email routes
router.get ('/api/v1/mail/:domain', mailScope, routes.mail.getDomain);
router.post('/api/v1/mail', mailScope, routes.mail.addDomain);