forked from alemi/upub
fix: oof my method sucks!!!!!
This commit is contained in:
parent
f8473a5ce1
commit
97b0c822f4
1 changed files with 1 additions and 1 deletions
|
@ -101,9 +101,9 @@ impl Context {
|
|||
id
|
||||
} else if id.starts_with('+') { // compacted id
|
||||
id
|
||||
.replacen('+', "https://", 1)
|
||||
.replace('@', "/")
|
||||
.replace("//", "/@") // oops my method sucks!! TODO
|
||||
.replacen('+', "https://", 1)
|
||||
} else { // bare local id
|
||||
format!("{}{}/{}/{}", self.0.protocol, self.0.domain, entity, id)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue