From 00f6af416a491a7eb3fd1bbd4ca32d612853e3b6 Mon Sep 17 00:00:00 2001 From: lub Date: Mon, 15 Oct 2018 21:50:24 +0200 Subject: [PATCH] fix port --- .vscode/launch.json | 2 +- README.md | 2 +- index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index b0a273a..3f3e0ee 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "request": "launch", "name": "Launch Program", "program": "${workspaceFolder}/index.js", - "args": ["--config","config.yaml"] + "args": ["--config","config.yaml","-p","9000"] } ] } \ No newline at end of file diff --git a/README.md b/README.md index 985fe6c..7ea2efb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ 1. copy `config.sample.yaml` and modify accordingly 2. generate config with e.g. `node index.js -r -u "http://localhost:9000"` -3. start with `node index.js --config ` \ No newline at end of file +3. start with `node index.js --config -p ` \ No newline at end of file diff --git a/index.js b/index.js index 1763e24..5cbd999 100644 --- a/index.js +++ b/index.js @@ -42,4 +42,4 @@ new Cli({ bridge.run(port, config); bridge.getIntent('@_rss_test0r:imninja.net').sendText(roomId, 'asef :)'); } -}).run({port: 9000}); \ No newline at end of file +}).run(); \ No newline at end of file