Update websocket.md

Added file location, put enable field at top
This commit is contained in:
Jasin2069 2018-03-29 18:33:23 -04:00 committed by GitHub
parent cbb3970605
commit 7378361d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -21,14 +21,14 @@ There are a few things out of scope of this document:
## Setup ## 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). don't already have it defined).
````hjson ````hjson
loginServers: { loginServers: {
webSocket : { webSocket : {
port: 8810
enabled: true enabled: true
port: 8810
securePort: 8811 securePort: 8811
certPem: /path/to/https_cert.pem certPem: /path/to/https_cert.pem
keyPem: /path/to/https_cert_key.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: 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") ![VTXClient](../assets/images/vtxclient.png "VTXClient")