Revert apub endpoint change (again)
This commit is contained in:
parent
77fbecf930
commit
3b18808434
1 changed files with 4 additions and 4 deletions
|
@ -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!(
|
||||
|
|
Reference in a new issue