windows-iso-downloader/backend
Shekhar Vaidya 8b036e94ba feat: route Microsoft API calls through Cloudflare Worker to avoid IP blocks
- Add cloudflare-worker/worker.js: edge proxy forwarding requests to allowed
  Microsoft hosts from Cloudflare distributed IPs. Set CF_WORKER_URL env var
  to activate; omit to keep direct-to-Microsoft behaviour (self-hosters unaffected).
- Wrap all outbound Microsoft URLs in proxyURL() in main.go so the Worker
  sits transparently in front of every session and download-link request.
- Fix Back button navigating to external referrer when user lands directly
  on a product URL (#5) — use window.history.state?.idx to detect whether
  there is prior in-app history before calling navigate(-1).

Closes #5, Closes #6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 12:01:03 +05:30
..
Dockerfile fix: remove public folder copy from Dockerfile 2026-04-10 20:56:08 +05:30
go.mod fix: downgrade go version to 1.22 and ensure go.sum is tracked 2026-04-10 20:40:01 +05:30
go.sum fix: remove go.sum from ignore list 2026-04-10 20:33:36 +05:30
main.go feat: route Microsoft API calls through Cloudflare Worker to avoid IP blocks 2026-05-18 12:01:03 +05:30