Skip to content

Commit

Permalink
Repair websocketport
Browse files Browse the repository at this point in the history
  • Loading branch information
mattreim authored Oct 6, 2024
1 parent 85b5622 commit 1f184fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ function autoReconnect(host, port) {

async function getAutoUpdates() {
const host = adapter.config.bridge ? adapter.config.bridge : null;
const port = adapter.config.port ? adapter.config.websocketport : 443;
const port = adapter.config.websocketport ? adapter.config.websocketport : 443;
const user = adapter.config.user ? adapter.config.user : null;

if (user !== null && host !== null && port !== null) {
Expand Down

0 comments on commit 1f184fd

Please sign in to comment.