Remove extra properties from the config endpoint
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user