Fetch vrc.tl events via Cloudflare Worker relay

vrc.tl returns 403 for the VPS IP range. Route lookups through a relay
Worker (relay/), configured via vrctl.relayUrl/relaySecret in config.json.
Also handle events without eventSlots/performers instead of crashing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MrxnVXujrZqNrENxJZfVkU
This commit is contained in:
2026-09-30 23:45:38 +02:00
parent 0ecbf00ca2
commit bf5d61ffca
5 changed files with 45 additions and 5 deletions

3
relay/wrangler.toml Normal file
View File

@@ -0,0 +1,3 @@
name = "vrctl-relay"
main = "src/index.js"
compatibility_date = "2026-09-01"