From 1b0da74b57975d01ea166f45ea1fcacf4f1651dd Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 7 Apr 2020 17:34:44 +0200 Subject: [PATCH] Revert apub endpoint change (again) --- server/src/apub/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/apub/mod.rs b/server/src/apub/mod.rs index b9ed615bf..1669ee895 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!(