From 2c8a6c7da87d281b3b08836ea80d7961feeec61f Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Sat, 18 Mar 2023 03:28:17 +0100 Subject: [PATCH] Implement Friendica --- src/pages/api/detect/[host].ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/api/detect/[host].ts b/src/pages/api/detect/[host].ts index f16354a..1a22964 100644 --- a/src/pages/api/detect/[host].ts +++ b/src/pages/api/detect/[host].ts @@ -28,6 +28,13 @@ const PROJECTS = { text: "message", }, }, + friendica: { + checkUrl: "/api/statusnet/config", + publishEndpoint: "compose", + params: { + text: "body", + }, + }, }; const checkProjectUrl = (