完善跨域配置
#192
Replies: 1 comment 2 replies
-
为什么网关会改域名,配了什么奇怪的重写吗 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前仅靠将配置文件中的tornado_xheaders设置为true不接受跨域websocket,导致我这种用api网关做反代的抽象无法启用通过服务器转发功能
要改的不多,,配置文件加上
在config.py的AppConfig._load_app_config中加入
再将chat.py中的check_origin修改为
Beta Was this translation helpful? Give feedback.
All reactions