mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-17 17:07:27 +00:00
enable tape backup by default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c80251ecca
commit
ac49fbd472
@ -23,7 +23,6 @@ pub struct ApiConfig {
|
||||
templates: RwLock<Handlebars<'static>>,
|
||||
template_files: RwLock<HashMap<String, (SystemTime, PathBuf)>>,
|
||||
request_log: Option<Arc<Mutex<FileLogger>>>,
|
||||
pub enable_tape_ui: bool,
|
||||
pub api_auth: Arc<dyn ApiAuth + Send + Sync>,
|
||||
}
|
||||
|
||||
@ -42,7 +41,6 @@ impl ApiConfig {
|
||||
templates: RwLock::new(Handlebars::new()),
|
||||
template_files: RwLock::new(HashMap::new()),
|
||||
request_log: None,
|
||||
enable_tape_ui: false,
|
||||
api_auth,
|
||||
})
|
||||
}
|
||||
|
@ -497,7 +497,6 @@ fn get_index(
|
||||
"CSRFPreventionToken": csrf_token,
|
||||
"language": lang,
|
||||
"debug": debug,
|
||||
"enableTapeUI": api.enable_tape_ui,
|
||||
});
|
||||
|
||||
let (ct, index) = match api.render_template(template_file, &data) {
|
||||
|
Loading…
Reference in New Issue
Block a user