Skip to content
Prev Previous commit
Next Next commit
Update packages/runtime/src/webcontainer/terminal-config.ts
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
  • Loading branch information
RonithManikonda and AriPerkkio authored Nov 5, 2024
commit 69ec710c7f14f04e10e78892baeedeb60e98445c
2 changes: 1 addition & 1 deletion packages/runtime/src/webcontainer/terminal-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function normalizeTerminalConfig(config?: TerminalSchema): NormalizedTerminalCon
id: panel.id,
title: panel.title,
allowRedirects: panel.allowRedirects ?? config.allowRedirects,
allowCommands: panel.allowCommands ?? DEFAULT_COMMANDS,
allowCommands: panel.allowCommands ? resolveAllowCommands(panel.allowCommands) : options.allowCommands,
});
}

Expand Down