Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
visualDust committed Nov 24, 2023
1 parent 7332dc2 commit 2621cf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions neetbox/daemon/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ python neetbox/daemon/server/_server.py

script above should launch a server in debug mode on `localhost:5000`, it wont read the port in `neetbox.toml`. a swegger UI is provided at [localhost:5000/docs](http://127.0.0.1:5000/docs) in debug mode.

websocket server should run on port `5001`.

## WS message standard

websocke messages are described in json. There is a dataclass representing websocket message:
Expand Down
2 changes: 1 addition & 1 deletion neetbox/daemon/server/_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def _count_down_thread():
cfg = {
"enable": True,
"host": "localhost",
"port": 20202,
"port": 5000,
"displayName": None,
"allowIpython": False,
"mute": True,
Expand Down

0 comments on commit 2621cf1

Please sign in to comment.