mirror of
https://github.com/telemt/telemt.git
synced 2026-10-10 19:35:58 +03:00
WEB: Base Path added
This commit is contained in:
@@ -111,6 +111,7 @@ fn test_runtime_with_dc(
|
||||
config.web.runtime = Some(Arc::new(WebRuntimeConfig {
|
||||
vhosts: BTreeMap::new(),
|
||||
profiles: vec![Arc::clone(&profile)],
|
||||
capabilities: vec![[7; 32]].into_boxed_slice(),
|
||||
}));
|
||||
config.rebuild_runtime_user_auth().unwrap();
|
||||
let limits = config.web.limits.clone();
|
||||
|
||||
@@ -70,6 +70,7 @@ fn runtime(admission: bool) -> TestRuntime {
|
||||
config.web.runtime = Some(Arc::new(WebRuntimeConfig {
|
||||
vhosts: BTreeMap::new(),
|
||||
profiles: vec![Arc::clone(&profile)],
|
||||
capabilities: vec![[7; 32]].into_boxed_slice(),
|
||||
}));
|
||||
config.rebuild_runtime_user_auth().unwrap();
|
||||
let limits = config.web.limits.clone();
|
||||
|
||||
Reference in New Issue
Block a user