From 40c4354f1c43a85be0b5a88513df348fd0ebba16 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Fri, 27 Dec 2024 15:45:17 +0100 Subject: [PATCH] add comments config --- static/comments/config.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 static/comments/config.php diff --git a/static/comments/config.php b/static/comments/config.php new file mode 100644 index 0000000..81462c0 --- /dev/null +++ b/static/comments/config.php @@ -0,0 +1,15 @@ + +*/ +$config = [ + 'mastodon-instance' => 'https://mastodon.social', // URL of your Mastodon instance + 'user-id' => 379833, // Your Mastodon-ID. A bit tricky to find out, the API might help + // the URL of your blog. All toots are searched for this string + // please use https?:// as schema + 'search-url' => 'https?://mehl.mx', + 'cache_toots' => 300, // seconds to cache toots + 'cache_comments' => 300, // seconds to cache comments (per ID) + 'debug' => false // writes some debug messages in error_log +];