From d1addd719378d55254a2e546ae2e7eed4d0529a9 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 23 Jul 2023 19:44:47 +1000 Subject: [PATCH] Add in extra attrs --- app/actions/site/config.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/actions/site/config.rb b/app/actions/site/config.rb index e39cdbf..1067df0 100644 --- a/app/actions/site/config.rb +++ b/app/actions/site/config.rb @@ -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",