diff --git a/src/js/restore.js b/src/js/restore.js index 8753bf56e..f8a6d5fda 100644 --- a/src/js/restore.js +++ b/src/js/restore.js @@ -270,7 +270,6 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien backupConfig.mountOptions = {}; if (backupConfig.provider === 'cifs' || backupConfig.provider === 'sshfs' || backupConfig.provider === 'nfs') { - backupConfig.mountPoint = '/mnt/cloudronbackup'; // harcoded for ease of use backupConfig.mountOptions.host = $scope.mountOptions.host; backupConfig.mountOptions.remoteDir = $scope.mountOptions.remoteDir; @@ -283,7 +282,6 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien backupConfig.mountOptions.privateKey = $scope.mountOptions.privateKey; } } else if (backupConfig.provider === 'ext4') { - backupConfig.mountPoint = '/mnt/cloudronbackup'; // harcoded for ease of use backupConfig.mountOptions.diskPath = $scope.diskPath; } else if (backupConfig.provider === 'mountpoint') { backupConfig.mountPoint = $scope.mountPoint; diff --git a/src/views/backups.js b/src/views/backups.js index aef073d70..bc6931b6f 100644 --- a/src/views/backups.js +++ b/src/views/backups.js @@ -630,7 +630,6 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat backupConfig.mountOptions = {}; if (backupConfig.provider === 'cifs' || backupConfig.provider === 'sshfs' || backupConfig.provider === 'nfs') { - backupConfig.mountPoint = '/mnt/cloudronbackup'; // harcoded for ease of use backupConfig.mountOptions.host = $scope.configureBackup.mountOptions.host; backupConfig.mountOptions.remoteDir = $scope.configureBackup.mountOptions.remoteDir; @@ -643,7 +642,6 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat backupConfig.mountOptions.privateKey = $scope.configureBackup.mountOptions.privateKey; } } else if (backupConfig.provider === 'ext4') { - backupConfig.mountPoint = '/mnt/cloudronbackup'; // harcoded for ease of use backupConfig.mountOptions.diskPath = $scope.configureBackup.mountOptions.diskPath; } else if (backupConfig.provider === 'mountpoint') { backupConfig.mountPoint = $scope.configureBackup.mountPoint;