mirror of https://github.com/anoshenko/rui.git
Updated log text
This commit is contained in:
parent
f4cb6ece43
commit
a8ef0d3ead
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue