mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-04 15:54:48 +01:00
Make backup API RESTful
This commit is contained in:
@@ -138,7 +138,7 @@ function show_system_backup() {
|
||||
|
||||
function show_custom_backup() {
|
||||
api(
|
||||
"/system/backup/get-custom",
|
||||
"/system/backup/custom",
|
||||
"GET",
|
||||
{ },
|
||||
function(r) {
|
||||
@@ -158,7 +158,7 @@ function set_custom_backup() {
|
||||
var target_pass = $("#target-pass").val();
|
||||
var max_age = $("#max-age").val();
|
||||
api(
|
||||
"/system/backup/set-custom",
|
||||
"/system/backup/custom",
|
||||
"POST",
|
||||
{
|
||||
target: target,
|
||||
|
||||
Reference in New Issue
Block a user