diff options
author | Felix Ableitner <me@nutomic.com> | 2020-04-07 17:34:44 +0200 |
---|---|---|
committer | Felix Ableitner <me@nutomic.com> | 2020-04-07 17:34:44 +0200 |
commit | 1b0da74b57975d01ea166f45ea1fcacf4f1651dd (patch) | |
tree | ea450b6533f5a26f1c744f0fd1fc1416db5b1b07 | |
parent | 095ccae616e40a93d59a14ee9e36840c0816aef4 (diff) |
Revert apub endpoint change (again)
-rw-r--r-- | server/src/apub/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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!( |