From 7378361d0954f5df35d50dac8e7f8c027d9b7e41 Mon Sep 17 00:00:00 2001 From: Jasin2069 Date: Thu, 29 Mar 2018 18:33:23 -0400 Subject: [PATCH] Update websocket.md Added file location, put enable field at top --- docs/servers/websocket.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/servers/websocket.md b/docs/servers/websocket.md index 62df02d7..40d4b679 100644 --- a/docs/servers/websocket.md +++ b/docs/servers/websocket.md @@ -21,14 +21,14 @@ There are a few things out of scope of this document: ## Setup -1. Enable the websocket in ENiGMA, by adding `webSocket` configuration to the `loginServers` block (create it if you +1. Enable the websocket in ENiGMA, by adding `webSocket` configuration to the `loginServers` block in `config.hjson` (create it if you don't already have it defined). ````hjson loginServers: { webSocket : { - port: 8810 enabled: true + port: 8810 securePort: 8811 certPem: /path/to/https_cert.pem keyPem: /path/to/https_cert_key.pem @@ -88,4 +88,4 @@ otherwise. 9. If you navigate to http://your-hostname.here/vtx.html, you should see a splash screen like the following: ![VTXClient](../assets/images/vtxclient.png "VTXClient") - \ No newline at end of file +