mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-10 02:05:10 +00:00
Fix issue with protocol string in actor id generation (#1668)
This commit is contained in:
parent
5fe7de2bff
commit
7d3b90d711
|
@ -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