CORS Issues
Closed this issue · 3 comments
russmatt commented
Describe the bug
Every API call is blocked by CORS policy
To Reproduce
Steps to reproduce the behavior:
- Create a new Angular Project
- Install package
- Do any http call
- Error Access to XMLHttpRequest at 'https://www.fotmob.com/api/matchDetails?matchId=3917969' from origin 'https://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Expected behavior
JSON result to be printed
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: MacOS
- Browser Chrome
- Version Last stable
ItamarShDev commented
This package is supposed to be used from the server.
Maybe we should add it to the docs? @bgrnwd
bgrnwd commented
Yeah, let's add it
ItamarShDev commented
This issue can be closed. the readme says it is a backend library