forked from alemi/upub
fix: url with trailing slash
may help with verification?
This commit is contained in:
parent
f42849ffb0
commit
6df108254a
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ pub async fn view(
|
||||||
.set_published(Some(ctx.actor().published))
|
.set_published(Some(ctx.actor().published))
|
||||||
.set_endpoints(apb::Node::Empty)
|
.set_endpoints(apb::Node::Empty)
|
||||||
.set_preferred_username(Some(ctx.domain()))
|
.set_preferred_username(Some(ctx.domain()))
|
||||||
|
.set_url(apb::Node::link(upub::url!(ctx, "/")))
|
||||||
.set_public_key(apb::Node::object(
|
.set_public_key(apb::Node::object(
|
||||||
apb::new()
|
apb::new()
|
||||||
.set_id(Some(&upub::url!(ctx, "#main-key")))
|
.set_id(Some(&upub::url!(ctx, "#main-key")))
|
||||||
|
|
Loading…
Reference in a new issue