feat: add embed snippet to profile settings

This commit is contained in:
2026-06-03 10:09:38 +02:00
parent 19642175eb
commit 3f6e01ed65
3 changed files with 12 additions and 0 deletions

View File

@@ -1251,6 +1251,11 @@ pub async fn get_profile_settings(
also_known_as: also_known_as.as_deref(),
profile_fields: &profile_fields,
saved,
embed_url: format!(
"{}/users/{}?embed=1",
state.app_ctx.config.base_url,
user_id.value()
),
})
.into_response()
}