fix: remove default kiro.rs admin URL
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
const DEFAULT_OPENAI_TARGET_ID = 'cpa';
|
||||
const DEFAULT_KIRO_TARGET_ID = 'kiro-rs';
|
||||
const DEFAULT_KIRO_PUBLICATION_TARGET_ID = 'kiro-rs';
|
||||
const DEFAULT_KIRO_RS_URL = 'https://kiro.leftcode.xyz/admin';
|
||||
const DEFAULT_KIRO_RS_URL = '';
|
||||
const OPENAI_TARGET_IDS = Object.freeze(['cpa', 'sub2api', 'codex2api']);
|
||||
const SHARED_SERVICE_IDS = Object.freeze(['account', 'email', 'proxy']);
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
).trim().toLowerCase() || 'openai';
|
||||
const defaultOpenAiTargetId = flowRegistry.DEFAULT_OPENAI_TARGET_ID || 'cpa';
|
||||
const defaultKiroTargetId = flowRegistry.DEFAULT_KIRO_TARGET_ID || 'kiro-rs';
|
||||
const defaultKiroRsUrl = flowRegistry.DEFAULT_KIRO_RS_URL || 'https://kiro.leftcode.xyz/admin';
|
||||
const defaultKiroRsUrl = String(flowRegistry.DEFAULT_KIRO_RS_URL || '').trim();
|
||||
const normalizeFlowId = typeof flowRegistry.normalizeFlowId === 'function'
|
||||
? flowRegistry.normalizeFlowId
|
||||
: ((value = '', fallback = defaultFlowId) => {
|
||||
|
||||
Reference in New Issue
Block a user