remove the backup check notification and route

it seems we decided that instead of a notification, we display a warning in
the backups view itself (see #719).
This commit is contained in:
Girish Ramakrishnan
2021-06-23 22:06:20 -07:00
parent 3eb5a26c46
commit 89607d2c64
5 changed files with 1 additions and 67 deletions
-6
View File
@@ -83,12 +83,6 @@ function onActivated(options, callback) {
async.series([
platform.start.bind(null, options),
cron.startJobs,
function checkBackupConfiguration(done) {
backups.checkConfiguration(function (error, message) {
if (error) return done(error);
notifications.alert(notifications.ALERT_BACKUP_CONFIG, 'Backup configuration is unsafe', message, done);
});
},
// disable responding to api calls via IP to not leak domain info. this is carefully placed as the last item, so it buys
// the UI some time to query the dashboard domain in the restore code path
(done) => setTimeout(() => reverseProxy.writeDefaultConfig({ activated :true }, done), 30000)