I have a Flask app with the following:
app = Flask(__name__) cors = CORS(app, resources={r"/api/*": {"origins": "*"}}) @app.after_r