Merge pull request #962 from pikasTech/fix/sub2api-codex-pool-python-bool
修复 codex-pool 远端脚本 target sentinel 布尔值渲染
This commit is contained in:
@@ -67,7 +67,7 @@ EXPECTED_ACCOUNT_TEMP_UNSCHEDULABLE = json.loads(${JSON.stringify(JSON.stringify
|
|||||||
MANUAL_ACCOUNT_PROTECTIONS = json.loads(${JSON.stringify(JSON.stringify(resolvedManualAccountProtections(pool, target)))})
|
MANUAL_ACCOUNT_PROTECTIONS = json.loads(${JSON.stringify(JSON.stringify(resolvedManualAccountProtections(pool, target)))})
|
||||||
SENTINEL_CONFIG = json.loads(${JSON.stringify(JSON.stringify(pool.sentinel))})
|
SENTINEL_CONFIG = json.loads(${JSON.stringify(JSON.stringify(pool.sentinel))})
|
||||||
TARGET_EGRESS_PROXY = json.loads(${JSON.stringify(JSON.stringify(target.egressProxy))})
|
TARGET_EGRESS_PROXY = json.loads(${JSON.stringify(JSON.stringify(target.egressProxy))})
|
||||||
TARGET_SENTINEL_ENABLED = ${JSON.stringify(target.sentinelEnabled)}
|
TARGET_SENTINEL_ENABLED = ${target.sentinelEnabled ? "True" : "False"}
|
||||||
MODE = "${mode}"
|
MODE = "${mode}"
|
||||||
PAYLOAD_B64 = "${encodedPayload}"
|
PAYLOAD_B64 = "${encodedPayload}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user