Remove extra properties from the config endpoint
This commit is contained in:
@@ -11,16 +11,16 @@ module Adamantium
|
|||||||
res.content_type = "Application/JSON"
|
res.content_type = "Application/JSON"
|
||||||
res.body = {
|
res.body = {
|
||||||
"media-endpoint" => settings.micropub_media_endpoint,
|
"media-endpoint" => settings.micropub_media_endpoint,
|
||||||
"destination" => [
|
# "destination" => [
|
||||||
{uid: settings.micropub_site_id, name: settings.micropub_site_name}
|
# {uid: settings.micropub_site_id, name: settings.micropub_site_name}
|
||||||
],
|
# ],
|
||||||
"post-types" => [
|
# "post-types" => [
|
||||||
{type: "note", name: "Note", properties: %w[content photo category]},
|
# {type: "note", name: "Note", properties: %w[content photo category]},
|
||||||
{type: "article", name: "Article", properties: %w[name content category]},
|
# {type: "article", name: "Article", properties: %w[name content category]},
|
||||||
{type: "photo", name: "Photo", properties: %w[name photo content category]},
|
# {type: "photo", name: "Photo", properties: %w[name photo content category]},
|
||||||
{type: "video", name: "Video", properties: %w[name video content category]},
|
# {type: "video", name: "Video", properties: %w[name video content category]},
|
||||||
{type: "bookmark", name: "Bookmark", properties: %w[name content category]}
|
# {type: "bookmark", name: "Bookmark", properties: %w[name content category]}
|
||||||
],
|
# ],
|
||||||
"syndicate-to" => [
|
"syndicate-to" => [
|
||||||
{
|
{
|
||||||
uid: "https://social.dnitza.com",
|
uid: "https://social.dnitza.com",
|
||||||
|
Reference in New Issue
Block a user