Python

[Python] Flask CORS 해결

믹-아 2021. 2. 19. 11:57
$ pip install flask_cors
from flask import Flask
from flask_cors import CORS
app = Flask(__name__)
CORS(app)

if __name__ == '__main__':
    app.run(host='0.0.0.0')