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