mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-14 00:37:07 +00:00
Fix issue with protocol string in actor id generation
This commit is contained in:
parent
5fe7de2bff
commit
6872554c47
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ pub fn build_actor_id_from_shortname(
|
|||
let domain = if split.len() == 1 {
|
||||
Settings::get().get_protocol_and_hostname()
|
||||
} else {
|
||||
format!("https://{}", split[1])
|
||||
format!("{}://{}", Settings::get().get_protocol_string(), split[1])
|
||||
};
|
||||
|
||||
generate_apub_endpoint_for_domain(endpoint_type, name, &domain)
|
||||
|
|
Loading…
Reference in a new issue