This commit is contained in:
imax
2026-07-18 00:30:33 +03:00
parent 6212a75664
commit 977a472a39
2 changed files with 22 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ import { t } from "./src/i18n.ts";
// Make Synapse URL configurable
const SYNAPSE_URL = config.matrix.homeserverUrl;
const CB2FA_BOT_URL = `http://127.0.0.1:${config.cb2fa.botPort}`;
const CB2FA_BOT_URL = `http://0.0.0.0:${config.cb2fa.botPort}`;
log.info("🌐 Starting CB2FA Middleware...");
log.info(`Matrix domain: ${config.matrix.domain}`);
@@ -253,5 +253,5 @@ const handler = async (req: Request): Promise<Response> => {
await serve(handler, {
port: config.cb2fa.middlewarePort,
hostname: "127.0.0.1",
hostname: "0.0.0.0",
});