Add in extra attrs

This commit is contained in:
2023-07-23 19:44:47 +10:00
parent ac774e729b
commit d1addd7193

View File

@@ -11,16 +11,16 @@ module Adamantium
res.content_type = "application/json"
res.body = {
"media-endpoint" => settings.micropub_media_endpoint,
# "destination" => [
# {uid: settings.micropub_site_id, name: settings.micropub_site_name}
# ],
# "post-types" => [
# {type: "note", name: "Note", properties: %w[content photo category]},
# {type: "article", name: "Article", properties: %w[name content category]},
# {type: "photo", name: "Photo", properties: %w[name photo content category]},
# {type: "video", name: "Video", properties: %w[name video content category]},
# {type: "bookmark", name: "Bookmark", properties: %w[name content category]}
# ],
"destination" => [
{uid: settings.micropub_site_id, name: settings.micropub_site_name}
],
"post-types" => [
{type: "note", name: "Note", properties: %w[content photo category]},
{type: "article", name: "Article", properties: %w[name content category]},
{type: "photo", name: "Photo", properties: %w[name photo content category]},
{type: "video", name: "Video", properties: %w[name video content category]},
{type: "bookmark", name: "Bookmark", properties: %w[name content category]}
],
"syndicate-to" => [
{
uid: "https://social.dnitza.com",