SyntaxFix
Write A Post
Hire A Developer
Questions
This work for me
from flask import Flask from flask import Response app = Flask(__name__) @app.route("/") def home(): return Response(headers={'Access-Control-Allow-Origin':'*'}) if __name__ == "__main__": app.run()