Minor nit
This commit is contained in:
parent
3b69187007
commit
22cefcfd4b
|
@ -1,7 +1,7 @@
|
||||||
import ../ws, chronos, asynchttpserver
|
import ws, chronos, asynchttpserver
|
||||||
|
|
||||||
proc cb(req: Request) {.async.} =
|
proc cb(req: Request) {.async.} =
|
||||||
var ws = await newWebSocket(req)
|
let (ws, error) = await newWebSocket(req)
|
||||||
ws.close()
|
ws.close()
|
||||||
|
|
||||||
var server = newAsyncHttpServer()
|
var server = newAsyncHttpServer()
|
||||||
|
|
Loading…
Reference in New Issue