mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: cannot ota upgrade when connect to remote node #424
This commit is contained in:
parent
f41b6bc07b
commit
7ef4fec896
8 changed files with 115 additions and 156 deletions
|
@ -65,9 +65,7 @@ func (e *Environment) GetWebSocketURL(uri string) (decodedUri string, err error)
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
// http will be replaced with ws, https will be replaced with wss
|
||||
decodedUri = strings.ReplaceAll(decodedUri, "http", "ws")
|
||||
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue