Fix issue with protocol string in actor id generation (#1668)
This commit is contained in:
parent
5fe7de2bff
commit
7d3b90d711
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 {
|
let domain = if split.len() == 1 {
|
||||||
Settings::get().get_protocol_and_hostname()
|
Settings::get().get_protocol_and_hostname()
|
||||||
} else {
|
} else {
|
||||||
format!("https://{}", split[1])
|
format!("{}://{}", Settings::get().get_protocol_string(), split[1])
|
||||||
};
|
};
|
||||||
|
|
||||||
generate_apub_endpoint_for_domain(endpoint_type, name, &domain)
|
generate_apub_endpoint_for_domain(endpoint_type, name, &domain)
|
||||||
|
|
Loading…
Reference in a new issue