Updated log text

This commit is contained in:
Alexei Anoshenko 2026-05-29 16:07:48 +03:00
parent f4cb6ece43
commit a8ef0d3ead
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ func (app *application) socketReader(bridge *wsBridge) {
} }
if ProtocolInDebugLog { if ProtocolInDebugLog {
DebugLog("🖥️ -> " + message) DebugLog("🖥️ " + message)
} }
obj, err := ParseDataText(message) obj, err := ParseDataText(message)

View File

@ -60,7 +60,7 @@ func createSocketBridge(w http.ResponseWriter, req *http.Request) *wsBridge {
bridge.conn = conn bridge.conn = conn
bridge.writeMessage = func(script string) bool { bridge.writeMessage = func(script string) bool {
if ProtocolInDebugLog { if ProtocolInDebugLog {
DebugLog("🖥️ <- " + script) DebugLog("🖥️ " + script)
} }
if bridge.conn == nil { if bridge.conn == nil {