mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 09:13:08 +00:00
fix: set consistent default for enableSandboxMode to true
The default value should be 'true' to match the defaults in libs/types/src/settings.ts and apps/ui/src/store/app-store.ts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -64,7 +64,7 @@ export async function getEnableSandboxModeSetting(
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const globalSettings = await settingsService.getGlobalSettings();
|
const globalSettings = await settingsService.getGlobalSettings();
|
||||||
const result = globalSettings.enableSandboxMode ?? false;
|
const result = globalSettings.enableSandboxMode ?? true;
|
||||||
console.log(`${logPrefix} enableSandboxMode from global settings: ${result}`);
|
console.log(`${logPrefix} enableSandboxMode from global settings: ${result}`);
|
||||||
return result;
|
return result;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user