feat(comfy-cloud): 站点预设模板新增 Comfy Cloud
siteInitializationPresets 共享契约(ts/js/d.ts)加 comfy-cloud 预设: platform=comfy_cloud, defaultUrl=https://cloud.comfy.org, 自动填充官方地址。 platform 联合类型扩 'comfy_cloud';urlMatcher + Rust detect_site_platform 同步识别。 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1409,6 +1409,9 @@ fn detect_site_platform(url: &str) -> (&'static str, Option<&'static str>) {
|
||||
{
|
||||
return ("openai", Some("volcengine-ark-openai"));
|
||||
}
|
||||
if lower.starts_with("https://cloud.comfy.org") {
|
||||
return ("comfy_cloud", Some("comfy-cloud"));
|
||||
}
|
||||
|
||||
if lower.contains("anthropic") || lower.contains("claude") {
|
||||
return ("claude", None);
|
||||
|
||||
Reference in New Issue
Block a user