Merge branch 'v3' into v3-t90
# Conflicts: # userland/web/index.html
This commit is contained in:
@@ -68,7 +68,11 @@ fn rules_text(rules: &[super::items::Rule]) -> String {
|
||||
));
|
||||
}
|
||||
}
|
||||
format!("Rules: {}.", hosts.join(", "))
|
||||
if hosts.is_empty() {
|
||||
"No access rules. This item cannot match a request.".into()
|
||||
} else {
|
||||
format!("Rules: {}.", hosts.join(", "))
|
||||
}
|
||||
}
|
||||
fn creation(config: &super::items::Item) -> String {
|
||||
format!(
|
||||
|
||||
Reference in New Issue
Block a user