Skip to content

Commit f0a1bf7

Browse files
smashingtagsclaude
andcommitted
fix: add 'local' case to deploy switch (was falling through to error)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent df95d01 commit f0a1bf7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

server/cli-bridge.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,17 @@ export class CLIBridge {
190190
case 'traefik':
191191
deploymentResult = await this.deployWithTraefik(appPath, config);
192192
break;
193+
case 'local':
193194
case 'standard':
194195
deploymentResult = await this.deployStandard(appPath, config);
195196
break;
196197
case 'authelia':
197198
deploymentResult = await this.deployWithAuthelia(appPath, config);
198199
break;
199200
default:
200-
throw new Error(`Unknown deployment mode: ${deploymentMode.type}`);
201+
// Fallback to local/standard for unknown modes
202+
deploymentResult = await this.deployStandard(appPath, config);
203+
break;
201204
}
202205

203206
DeploymentLogger.logNetworkActivity('Application deployed successfully', {

0 commit comments

Comments
 (0)