From 59a303daa0d36374c765284f437ca5b6085f2f0d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 26 Jun 2019 22:08:40 +0200 Subject: [PATCH] make user config available from phone on local wlan --- src/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 6500420c..02289a9a 100644 --- a/src/main.js +++ b/src/main.js @@ -5,10 +5,10 @@ import Sync from "./matrix/sync.js"; import SessionView from "./ui/web/session/SessionView.js"; import SessionViewModel from "./domain/session/SessionViewModel.js"; -const HOST = "localhost"; +const HOST = "192.168.2.108"; const HOMESERVER = `http://${HOST}:8008`; const USERNAME = "bruno1"; -const USER_ID = `@${USERNAME}:${HOST}`; +const USER_ID = `@${USERNAME}:localhost`; const PASSWORD = "testtest"; function getSessionInfo(userId) { @@ -50,7 +50,6 @@ function showSession(container, session, sync) { container.appendChild(view.mount()); } -// eslint-disable-next-line no-unused-vars export default async function main(container) { try { let sessionInfo = getSessionInfo(USER_ID);