You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
audiocpp_server : cors_origins It doesn't work. #720
It seems like the CORS issue is inconsistent between different tasks. I'd check if there's any difference in how the server handles CORS headers for "align" versus "asr" tasks.
@juntaosun Thanks for reporting the bug! Yes, it’s a bug. The issue is the misleading error message. The error response lacks the CORS header, causing the browser to show a CORS error instead of the actual missing-language error. CORS handling is shared across all endpoints --- just one line header
Activity
modelpath-dev commentedon Sep 28, 2026
It seems like the CORS issue is inconsistent between different tasks. I'd check if there's any difference in how the server handles CORS headers for "align" versus "asr" tasks.
0xShug0 commentedon Sep 28, 2026
@juntaosun Thanks for reporting the bug! Yes, it’s a bug. The issue is the misleading error message. The error response lacks the CORS header, causing the browser to show a CORS error instead of the actual missing-language error. CORS handling is shared across all endpoints --- just one line header
response.headers["Access-Control-Allow-Origin"] = allowed_origin;There is no special treatment for align versus asr.
I will fix the issue.
0xShug0 commentedon Sep 28, 2026
@juntaosun @modelpath-dev PR merged. Let me know if you can see the real errors now.