File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4848
4949(defn send-message [id]
5050 (let [message (.-value (by-id id))]
51- (.send socket {:msg message :host host :path path})
51+ (.send socket {:message message :host host :path path})
5252 (set! (.-value (by-id id)) nil )
5353 (println " chatb0x sent message:" message)))
5454
6666
6767(set! (.-onopen socket)
6868 (fn [event]
69+ (.send socket {:new-path path :new-host host})
6970 (println " WebSocket connected. Destination: " ws-url)))
7071
7172; ; The keys are all ints, so sort them such that :10 > :2
Original file line number Diff line number Diff line change 185185 :credential-fn #(creds/bcrypt-credential-fn @users %)
186186 :workflows [(workflows/interactive-form )]})
187187 ; required Ring middlewares
188- (wrap-verbose ) ; log the request map
188+ ; ; (wrap-verbose) ; log the request map
189189 (wrap-reload )
190190 (wrap-drop-www )
191191 (wrap-keyword-params )
You can’t perform that action at this time.
0 commit comments