aboutsummaryrefslogtreecommitdiff
path: root/contrib/webmentions-ssg.example.cfg
diff options
context:
space:
mode:
authorDennis Fink2026-11-22 11:11:23 +0100
committerDennis Fink2026-11-22 11:11:23 +0100
commit779d10051556242ba1e70b70f6c6e8f1158e861d (patch)
tree284d8228491f0a7ee9422a2100149adebad5aaa7 /contrib/webmentions-ssg.example.cfg
parentef90dc381322122ecfb9af039cf790de92807514 (diff)
downloadwebmentions-ssg-main.tar.gz
webmentions-ssg-main.zip
feat(receiver)!: enrich digest notification emailsHEADmain
Render plain-text digests with source, target, per-Webmention detail links, and a filtered dashboard link while preserving singular and plural wording. Freeze the notified rows before sending so mentions arriving during delivery are left for the next digest. BREAKING CHANGE: enabling `DIGEST_EMAIL` now requires `SERVER_NAME` so background workers can generate absolute administration URLs.
Diffstat (limited to '')
-rw-r--r--contrib/webmentions-ssg.example.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/webmentions-ssg.example.cfg b/contrib/webmentions-ssg.example.cfg
index 6393b3f..3f3703e 100644
--- a/contrib/webmentions-ssg.example.cfg
+++ b/contrib/webmentions-ssg.example.cfg
@@ -222,6 +222,12 @@ LOGIN_USERNAME_RATE_LIMIT = "20/minute;100/hour"
DIGEST_EMAIL = "admin@example.com"
# Daily notification digest at 08:00 UTC (Huey defaults to UTC).
DIGEST_SCHEDULE = "0 8 * * *"
+# Required when DIGEST_EMAIL is set: the public hostname of the Webmentions SSG
+# *admin interface* (not your static site's SITE_BASE_URL). Flask's url_for
+# builds the digest's absolute dashboard and details links outside a request.
+SERVER_NAME = "webmentions.example.com"
+PREFERRED_URL_SCHEME = "https"
+# APPLICATION_ROOT = "/manage" # If the admin is hosted under a path prefix.
# ---------------------------------------------------------------------------
# Mail (SMTP)