Skip to content

Allow Android beta update reads - #201

Merged
jieChris merged 1 commit into
mainfrom
agent/android-beta-cors
Jul 29, 2026
Merged

Allow Android beta update reads#201
jieChris merged 1 commit into
mainfrom
agent/android-beta-cors

Conversation

@jieChris

Copy link
Copy Markdown
Owner

Summary

  • allow public cross-origin reads only for /downloads/android/beta/
  • keep API and all other site resources unchanged
  • cover the production Nginx contract with a unit test

Root cause

The Android Capacitor WebView runs at https://localhost, so browser CORS blocked the public beta manifest before version comparison.

Verification

  • npx vitest run tests/unit/nginx-cache-policy.spec.ts
  • git diff --check
  • deployment workflow validates the Nginx config with nginx -t before activation

@jieChris
jieChris merged commit e0727bd into main Jul 29, 2026
13 of 14 checks passed
@jieChris
jieChris deleted the agent/android-beta-cors branch July 29, 2026 12:31
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