From: Felix Ableitner Date: Tue, 7 Apr 2020 15:34:44 +0000 (+0200) Subject: Revert apub endpoint change (again) X-Git-Url: http://these/git/%22https:/image.com/static/readmes/README.es.md?a=commitdiff_plain;h=1b0da74b57975d01ea166f45ea1fcacf4f1651dd;p=lemmy.git Revert apub endpoint change (again) --- diff --git a/server/src/apub/mod.rs b/server/src/apub/mod.rs index b9ed615b..1669ee89 100644 --- a/server/src/apub/mod.rs +++ b/server/src/apub/mod.rs @@ -36,10 +36,10 @@ pub enum EndpointType { // and have it fetch the object. pub fn make_apub_endpoint(endpoint_type: EndpointType, name: &str) -> Url { let point = match endpoint_type { - EndpointType::Community => "community", - EndpointType::User => "user", - EndpointType::Post => "post", - EndpointType::Comment => "comment", + EndpointType::Community => "c", + EndpointType::User => "u", + EndpointType::Post => "p", + EndpointType::Comment => todo!(), }; Url::parse(&format!(