Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove commented out code
  • Loading branch information
guill committed Jul 13, 2025
commit fd6f877ae2290b05929b57cc7fddc4d499887db4
14 changes: 0 additions & 14 deletions src/scripts/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1033,20 +1033,6 @@ export class ComfyApi extends EventTarget {
getServerFeatures(): Record<string, any> {
return { ...this.serverFeatureFlags }
}

/**
* Updates the client feature flags.
*
* This is intentionally disabled for now. When we introduce an official Public API
* for the frontend, we'll introduce a function for custom frontend extensions to
* add their own feature flags in a way that won't interfere with other extensions
* or the builtin frontend flags.
*/
/*
setClientFeatureFlags(flags: Record<string, any>): void {
this.clientFeatureFlags = flags
}
*/
}

export const api = new ComfyApi()