feat: add on-demand sitemap revalidation webhook

This commit is contained in:
2026-05-04 13:12:37 +08:00
parent 0a138c3099
commit 9d3690ce50
2 changed files with 65 additions and 1 deletions
+11 -1
View File
@@ -86,4 +86,14 @@ STEAMGRIDDB_API_KEY="your_steamgriddb_api_key_here"
# CONTACT FORM
# -----------------------------------------------------------------------------
# Discord webhook URL for contact/report submissions
DISCORD_WEBHOOK_URL=""
DISCORD_WEBHOOK_URL=""
# -----------------------------------------------------------------------------
# SITEMAP
# -----------------------------------------------------------------------------
# Secret token for on-demand sitemap revalidation (generate with: openssl rand -base64 32)
# Leave empty to disable the revalidation endpoint
REVALIDATE_SECRET=""
# ISR revalidation interval in seconds for sitemap.xml (default: 3600 = 1 hour)
SITEMAP_REVALIDATE_SECONDS=""