Add route to get public IP

This commit is contained in:
Girish Ramakrishnan
2019-11-07 10:41:15 -08:00
parent cd0294129f
commit 1e776bbbe0
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -149,6 +149,7 @@ function initializeExpressSync() {
router.get ('/api/v1/cloudron/eventlog', cloudronScope, routes.eventlog.list);
router.get ('/api/v1/cloudron/eventlog/:eventId', cloudronScope, routes.eventlog.get);
router.post('/api/v1/cloudron/sync_external_ldap', cloudronScope, routes.cloudron.syncExternalLdap);
router.get ('/api/v1/cloudron/server_ip', cloudronScope, routes.cloudron.getServerIp);
// tasks
router.get ('/api/v1/tasks', settingsScope, routes.tasks.list);