fix(web): uri pretty len check mismatch
This commit is contained in:
parent
9c2cbf2303
commit
6c88dec148
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ impl Uri {
|
|||
|
||||
pub fn pretty(url: &str) -> String {
|
||||
let bare = url.replace("https://", "");
|
||||
if url.len() < 50 {
|
||||
if bare.len() < 50 {
|
||||
bare
|
||||
} else {
|
||||
format!("{}..", bare.get(..50).unwrap_or_default())
|
||||
|
|
Loading…
Reference in a new issue