forked from mystiq/hydrogen-web
make user config available from phone on local wlan
This commit is contained in:
parent
72c193cce5
commit
59a303daa0
1 changed files with 2 additions and 3 deletions
|
@ -5,10 +5,10 @@ import Sync from "./matrix/sync.js";
|
||||||
import SessionView from "./ui/web/session/SessionView.js";
|
import SessionView from "./ui/web/session/SessionView.js";
|
||||||
import SessionViewModel from "./domain/session/SessionViewModel.js";
|
import SessionViewModel from "./domain/session/SessionViewModel.js";
|
||||||
|
|
||||||
const HOST = "localhost";
|
const HOST = "192.168.2.108";
|
||||||
const HOMESERVER = `http://${HOST}:8008`;
|
const HOMESERVER = `http://${HOST}:8008`;
|
||||||
const USERNAME = "bruno1";
|
const USERNAME = "bruno1";
|
||||||
const USER_ID = `@${USERNAME}:${HOST}`;
|
const USER_ID = `@${USERNAME}:localhost`;
|
||||||
const PASSWORD = "testtest";
|
const PASSWORD = "testtest";
|
||||||
|
|
||||||
function getSessionInfo(userId) {
|
function getSessionInfo(userId) {
|
||||||
|
@ -50,7 +50,6 @@ function showSession(container, session, sync) {
|
||||||
container.appendChild(view.mount());
|
container.appendChild(view.mount());
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
export default async function main(container) {
|
export default async function main(container) {
|
||||||
try {
|
try {
|
||||||
let sessionInfo = getSessionInfo(USER_ID);
|
let sessionInfo = getSessionInfo(USER_ID);
|
||||||
|
|
Loading…
Reference in a new issue