Skip to content

replace cors proxy with api.allorigins.win#16

Open
shoosya wants to merge 1 commit into
abergs:masterfrom
shoosya:fix-cors-errors
Open

replace cors proxy with api.allorigins.win#16
shoosya wants to merge 1 commit into
abergs:masterfrom
shoosya:fix-cors-errors

Conversation

@shoosya

@shoosya shoosya commented May 1, 2026

Copy link
Copy Markdown

GitHub Pages does not support backend proxying, so direct LiveATC audio requests fail under the server's strict cross-origin/referrer policy. This change routes stream requests through api.allorigins.win/raw to restore audio playback without requiring a server-side host.

The previous CORS fix in index.html (removing crossOrigin="anonymous") did not address the real issue, because the block happens at the LiveATC server before the browser can complete the request.

Update app.js to route audio stream requests through api.allorigins.win/raw to fix CORS issue
@shoosya shoosya mentioned this pull request May 1, 2026
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