Add route to set the admin certificate

This route is separate until we can treat the webadmin just
like any other app
This commit is contained in:
Johannes Zellner
2015-10-29 12:27:54 +01:00
parent aa5ed17dfa
commit 0460beccf0
3 changed files with 63 additions and 3 deletions
+1
View File
@@ -163,6 +163,7 @@ function initializeExpressSync() {
router.get ('/api/v1/settings/dns_config', settingsScope, routes.settings.getDnsConfig);
router.post('/api/v1/settings/dns_config', settingsScope, routes.settings.setDnsConfig);
router.post('/api/v1/settings/certificate', settingsScope, routes.settings.setCertificate);
router.post('/api/v1/settings/admin_certificate', settingsScope, routes.settings.setAdminCertificate);
// backup routes
router.get ('/api/v1/backups', settingsScope, routes.backups.get);