Skip to content

Commit

Permalink
fix: 修复https反向代理的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbeatty committed Feb 19, 2024
1 parent 52d3728 commit e842603
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "web/omsUI"]
path = web/omsUI
branch = master
branch = release/v1.x.x
url = https://github.com/lixin59/omsUI.git
1 change: 1 addition & 0 deletions internal/web/controllers/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func (s *Service) GetWebsocketSSH(c *gin.Context) {
wsConn, err := upGrader.Upgrade(c.Writer, c.Request, nil)
if err != nil {
s.Logger.Errorf("upgrade websocket failed, err: %v", err)
return
}
defer wsConn.Close()

Expand Down
2 changes: 1 addition & 1 deletion web/omsUI

0 comments on commit e842603

Please sign in to comment.