Skip to content

Commit 69ec710

Browse files
Update packages/runtime/src/webcontainer/terminal-config.ts
Co-authored-by: Ari Perkkiö <[email protected]>
1 parent b5a30fb commit 69ec710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/webcontainer/terminal-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function normalizeTerminalConfig(config?: TerminalSchema): NormalizedTerminalCon
273273
id: panel.id,
274274
title: panel.title,
275275
allowRedirects: panel.allowRedirects ?? config.allowRedirects,
276-
allowCommands: panel.allowCommands ?? DEFAULT_COMMANDS,
276+
allowCommands: panel.allowCommands ? resolveAllowCommands(panel.allowCommands) : options.allowCommands,
277277
});
278278
}
279279

0 commit comments

Comments
 (0)