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
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