Error
[Error] 'http://127.0.0.1:5500' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
octo54
2020. 11. 12. 11:08
728x90
Flask 사용시
pip install flask-cors
from flask_cors import CORS
app = Flask(__name__, static_url_path='/static')
CORS(app)
728x90