在不开启ngix的情况下,如何解决跨域问题呢
1980744819 opened this issue · 2 comments
1980744819 commented
在不开启ngix的情况下,如何解决跨域问题呢
fy0 commented
你好 默认配置不存在跨域问题,参见config.py:
CORS_OPTIONS = CORSOptions('', allow_credentials=True, expose_headers='', allow_headers='*')
guzhenping commented
后端config.py或者private.py文件host修改为:
HOST = '0.0.0.0'