mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Fix issue with protocol string in actor id generation
This commit is contained in:
parent
5fe7de2bff
commit
6872554c47
@ -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 New Issue
Block a user