fy0/Icarus

在不开启ngix的情况下,如何解决跨域问题呢

1980744819 opened this issue · 2 comments

在不开启ngix的情况下,如何解决跨域问题呢
fy0 commented

你好 默认配置不存在跨域问题,参见config.py:
CORS_OPTIONS = CORSOptions('', allow_credentials=True, expose_headers='', allow_headers='*')

后端config.py或者private.py文件host修改为:

HOST = '0.0.0.0'