fix(start): add 5s delay after readiness check before first poll
The /status endpoint becomes available before all plugin routes are fully mounted, causing a 502 on the first webmention-sender POST. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -77,7 +77,8 @@ WEBMENTION_ORIGIN="${PUBLICATION_URL:-${SITE_URL:-}}"
|
||||
[ $_i -lt 60 ] || { echo "[webmention] Warning: indiekit not ready after 120s, proceeding anyway"; break; }
|
||||
sleep 2
|
||||
done
|
||||
echo "[webmention] Indiekit ready"
|
||||
echo "[webmention] Indiekit ready, waiting 5s for plugins to finish loading…"
|
||||
sleep 5
|
||||
while true; do
|
||||
TOKEN="$(
|
||||
WEBMENTION_ORIGIN="$WEBMENTION_ORIGIN" WEBMENTION_SECRET="$SECRET" \
|
||||
|
||||
Reference in New Issue
Block a user