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 +];