Backup Seite wieder da
Dieser Commit ist enthalten in:
@@ -197,7 +197,7 @@ function createBackup() {
|
||||
btn.disabled = true;
|
||||
btn.innerHTML = '⏳ Backup wird erstellt...';
|
||||
|
||||
fetch('{{ url_for('admin.create_backup') }}', {
|
||||
fetch('{{ url_for('admin.create_backup_route') }}', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
@@ -252,7 +252,7 @@ function confirmRestore() {
|
||||
loadingDiv.innerHTML = '<div class="spinner-border text-primary" role="status"><span class="visually-hidden">Loading...</span></div>';
|
||||
document.body.appendChild(loadingDiv);
|
||||
|
||||
fetch(`{{ url_for('admin.restore_backup', backup_id='') }}${backupId}`, {
|
||||
fetch(`/backup/restore/${backupId}`, {
|
||||
method: 'POST',
|
||||
body: formData
|
||||
})
|
||||
@@ -278,7 +278,7 @@ function deleteBackup(backupId, filename) {
|
||||
return;
|
||||
}
|
||||
|
||||
fetch(`{{ url_for('admin.delete_backup', backup_id='') }}${backupId}`, {
|
||||
fetch(`/backup/delete/${backupId}`, {
|
||||
method: 'DELETE',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren