mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 03:51:37 +02:00
✨ Send ws messages in verbose format when on development build
This commit is contained in:
parent
1d69941882
commit
0816adbaec
1 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,9 @@
|
|||
|
||||
(defn send!
|
||||
[ws msg]
|
||||
(-send ws (t/encode-str msg)))
|
||||
(if *assert*
|
||||
(-send ws (t/encode-str msg {:type :json-verbose}))
|
||||
(-send ws (t/encode-str msg))))
|
||||
|
||||
(defn close!
|
||||
[ws]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue