Skip to content

Redirect the old /downloads URLs to the latest GitHub release - #3

Merged
AKolenda merged 2 commits into
mainfrom
github-release-redirects
Sep 27, 2026
Merged

AKolenda merged 2 commits into
mainfrom
github-release-redirects

Conversation

@AKolenda

Copy link
Copy Markdown
Owner

Summary

Downloads moved to GitHub releases in #2. This adds a Workers static-assets _redirects file so that links to openfuel.ca/downloads/... shared before the move keep working:

  • The APK, its checksum and the source zip each redirect (302) to the same file in the latest release.
  • Anything else under /downloads/ redirects to the release page.

Testing

  • wrangler dev locally: each old URL answered 302 with the expected GitHub releases/latest location, and /preview/ still answered 200.
  • pytest tests: 77 passed.

Links to openfuel.ca/downloads shared before downloads moved to GitHub releases keep working: each file redirects to the same file in the latest release, and anything else under /downloads to the release page.
The embedded app shows the message once the browser answers its location request, so reading it straight after opening the frame failed intermittently.
@AKolenda
AKolenda merged commit 31ba3e0 into main Sep 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant