...
This commit is contained in:
@@ -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",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user