Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

 容错性 #4

Closed
gogoyqj opened this issue Oct 16, 2017 · 2 comments
Closed

 容错性 #4

gogoyqj opened this issue Oct 16, 2017 · 2 comments

Comments

@gogoyqj
Copy link

gogoyqj commented Oct 16, 2017

https://github.com/YMFE/yapi/blob/master/client/containers/Project/Interface/InterfaceList/Edit.js#L73

new WebSocket 可以用 try catch 包起来,web 服务部署的是 https 的话, ws 协议就会报错

@hellosean1025
Copy link
Member

@gogoyqj 不建议部署成 https 服务器,这会导致 chrome-extension(cross-request )文件上传功能异常,无法正常使用

@hellosean1025
Copy link
Member

已使用 try catch 做容错性处理

lazeyliu pushed a commit to lazeyliu/yapi that referenced this issue Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants