add comments config
All checks were successful
Website build and deploy / build (push) Successful in 1m8s
All checks were successful
Website build and deploy / build (push) Successful in 1m8s
This commit is contained in:
15
static/comments/config.php
Normal file
15
static/comments/config.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
||||||
|
SPDX-FileCopyrightText: 2019 Max Mehl <mail@mehl.mx>
|
||||||
|
*/
|
||||||
|
$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
|
||||||
|
];
|
||||||
Reference in New Issue
Block a user