Skip to content

Commit

Permalink
Set telescope enable default to false (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
guandeng authored and huangdijia committed Dec 8, 2023
1 parent c8db08b commit bb6a512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SwitchManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public function __construct(protected ConfigInterface $config)

public function isEnable(string $key): bool
{
return (bool) $this->config->get("telescope.enable.{$key}", true);
return (bool) $this->config->get("telescope.enable.{$key}", false);
}
}

0 comments on commit bb6a512

Please sign in to comment.