The /news/ page fetches /rssapi/api/items, /rssapi/api/feeds and /rssapi/api/status. The blogroll endpoint was mounted at /blogrollapi, so all three requests returned a 404 HTML page — causing the "Unexpected token '<'" JSON parse error. - Change blogroll mountPath from /blogrollapi to /rssapi - Add patch-endpoint-blogroll-feeds-alias.mjs: injects a /api/feeds route alias pointing to listBlogs (page expects /feeds, endpoint only had /blogs) - Wire new patch into postinstall and serve scripts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
AP_LOG_LEVEL=error
|
|
|
|
# Optional Podroll endpoint settings
|
|
# Default mount path in indiekit.config.mjs is /podrollapi
|
|
PODROLL_MOUNT_PATH=/podrollapi
|
|
|
|
# FreshRSS greader API URL for episode sync
|
|
# Example: https://freshrss.example/api/query.php?user=USER&t=TOKEN&f=greader
|
|
PODROLL_EPISODES_URL=
|
|
|
|
# FreshRSS OPML export URL for source sync
|
|
# Example: https://freshrss.example/api/query.php?user=USER&t=TOKEN&f=opml
|
|
PODROLL_OPML_URL=
|
|
|
|
# Graceful stop timeout for Indiekit process during shutdown (seconds)
|
|
INDIEKIT_STOP_TIMEOUT=20
|
|
|
|
# If parent process is FreeBSD daemon(8), terminate it during shutdown (1/0)
|
|
KILL_DAEMON_PARENT_ON_SHUTDOWN=1
|
|
|
|
# Optional listening endpoint update cadence (milliseconds)
|
|
# Lower values increase freshness but add upstream API load.
|
|
LISTENING_CACHE_TTL=120000
|
|
LISTENING_SYNC_INTERVAL=180000
|
|
|
|
# Optional per-source listening overrides (milliseconds)
|
|
FUNKWHALE_CACHE_TTL=
|
|
FUNKWHALE_SYNC_INTERVAL=
|
|
LASTFM_CACHE_TTL=
|
|
LASTFM_SYNC_INTERVAL=
|
|
|
|
# Syndication endpoint mount path
|
|
# Default in indiekit.config.mjs is /syndicate
|
|
SYNDICATE_MOUNT_PATH=/syndicate
|
|
|
|
# Bluesky syndicator settings
|
|
# Example: your-handle.bsky.social
|
|
BLUESKY_HANDLE=
|
|
BLUESKY_PASSWORD=
|
|
|
|
# Mastodon syndicator settings
|
|
# MASTODON_USER should be your username without @
|
|
MASTODON_URL=
|
|
MASTODON_USER=
|
|
MASTODON_ACCESS_TOKEN=
|
|
|
|
# Poll interval for webmention-sender (seconds). Long enough for deploys to complete.
|
|
WEBMENTION_SENDER_POLL_INTERVAL=600
|