kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 86294192530b5426f1ce03561c0fbee27d8069db
parent bb9dbbec120e8b0c11b523b6c25d5ecde27a01f2
Author: Joris Vink <joris@coders.se>
Date:   Tue, 31 Jan 2017 09:21:06 +0100

the example uses tls by default, so use it.

Diffstat:
examples/python/assets/frontend.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/python/assets/frontend.html b/examples/python/assets/frontend.html @@ -37,7 +37,7 @@ function onmessage(evt) { } function connect() { - socket = new WebSocket("ws://127.0.0.1:8888/ws"); + socket = new WebSocket("wss://127.0.0.1:8888/ws"); socket.onopen = function(evt) { open(evt) }; socket.onclose = function(evt) { alert("closed"); };