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

fix: 修复前端开发时后端接口代理无法正常连接 WebSocket 的问题 #506

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

WankkoRee
Copy link
Contributor

不确定开发团队是否有碰到这个问题,我这边将后端接口代理到自己服务器时, WebSocket 无法正常建立连接,需要添加参数才行。

另外,官网的开发文档可以做一些补充,如只需要调试前端开发环境时,可以将代理指向在线服务器的后端接口,而不是在本地起一个后端。

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Apr 5, 2023

@WankkoRee: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@zhengkunwang223 zhengkunwang223 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@zhengkunwang223
Copy link
Member

确实有这个问题,感谢

@ssongliu
Copy link
Member

ssongliu commented Apr 5, 2023

/approve

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Apr 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ssongliu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved label Apr 5, 2023
@f2c-ci-robot f2c-ci-robot bot merged commit 1d99559 into 1Panel-dev:dev Apr 5, 2023
ssongliu pushed a commit to Mystery00/1Panel that referenced this pull request Apr 7, 2023
不确定开发团队是否有碰到这个问题,我这边将后端接口代理到自己服务器时, WebSocket 无法正常建立连接,需要添加参数才行。

另外,官网的开发文档可以做一些补充,如只需要调试前端开发环境时,可以将代理指向在线服务器的后端接口,而不是在本地起一个后端。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants