1
0
Fork 0
forked from alemi/upub

fix: url with trailing slash

may help with verification?
This commit is contained in:
əlemi 2024-06-06 03:15:56 +02:00
parent f42849ffb0
commit 6df108254a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -28,6 +28,7 @@ pub async fn view(
.set_published(Some(ctx.actor().published))
.set_endpoints(apb::Node::Empty)
.set_preferred_username(Some(ctx.domain()))
.set_url(apb::Node::link(upub::url!(ctx, "/")))
.set_public_key(apb::Node::object(
apb::new()
.set_id(Some(&upub::url!(ctx, "#main-key")))