refactor: move inbound config
This commit is contained in:
1 parent
5e07400cd1
commit
93af424ce5
34 files changed
+283
-243
No files matched your search
@@ -33,8 +33,8 @@ export async function buildProviderSummary(
|
||||
: chalk.cyan("Telegram: not configured"),
|
||||
);
|
||||
|
||||
const allowFrom = effective.inbound?.allowFrom?.length
|
||||
? effective.inbound.allowFrom.map(normalizeE164).filter(Boolean)
|
||||
const allowFrom = effective.routing?.allowFrom?.length
|
||||
? effective.routing.allowFrom.map(normalizeE164).filter(Boolean)
|
||||
: [];
|
||||
if (allowFrom.length) {
|
||||
lines.push(chalk.cyan(`AllowFrom: ${allowFrom.join(", ")}`));
|
||||
|
||||
Reference in new issue
Block a user