-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cors Filters doesn't work properly. #2763
Comments
I have the same problem! |
So I have found that setting the CORS values in the filter does work but then has an unintended consequence where the AMS Admin UI no longer can make calls to the backend. |
From my tests I'm getting the same results. CORS restrictions have no affect whatsoever. Unless I'm misunderstanding what the CORS filter is intended for, I'm trying to use it to limit the player. Edit: I'm referring to the application specific filter, not the root filter. |
@KeithLeoSmithIdeam You have to put the domain your AMS ADmin UI sits behind in the allowed origins |
Short description
Cors filter doesn't work.
Environment
Steps to reproduce
vim /usr/local/antmedia/webapps/WebRTCAppEE/WEB-INF/web.xml
*
toURL address
systemctl restart antmedia
Expected behavior
It should work
Actual behavior
It does not work.
Logs
Place logs on pastebin or elsewhere and put links here
Join Google Group and be a part of Ant Media Server Community.
The text was updated successfully, but these errors were encountered: