up
This commit is contained in:
1 parent
05c16df6d2
commit
2a0c18e51b
1 file changed
+1
-1
@@ -59,7 +59,7 @@ func RealTimeProxy(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
conn := websocket.Dialer{
|
conn := websocket.Dialer{
|
||||||
Proxy: http.ProxyURL(&url.URL{Scheme: "http", Host: "127.0.0.1:7890"}),
|
// Proxy: http.ProxyURL(&url.URL{Scheme: "http", Host: "127.0.0.1:7890"}),
|
||||||
HandshakeTimeout: 45 * time.Second,
|
HandshakeTimeout: 45 * time.Second,
|
||||||
}
|
}
|
||||||
openAIConn, _, err := conn.Dial(realtimeURL, headers)
|
openAIConn, _, err := conn.Dial(realtimeURL, headers)
|
||||||
|
|||||||
Reference in new issue
Block a user