From 97b0c822f481048791d9076652fa31a6d0611a1d Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 3 May 2024 05:05:07 +0200 Subject: [PATCH] fix: oof my method sucks!!!!! --- src/server/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/context.rs b/src/server/context.rs index c50ee54d..a5c281dc 100644 --- a/src/server/context.rs +++ b/src/server/context.rs @@ -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) }