Hello, I have this CORS implementation in my code:
from flask_cors import CORS
app = Flask(__name__)
CORS(app)
The error I'm getting is:
Access to XMLHttpRequest at 'https://user.pythonanywhere.com/' from origin 'http://www.mysite.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Please help. Don't know what I might be missing and where. Thank you.