Skip to content

Commit

Permalink
Replaces incorrect method of utilizing a configuration file with the …
Browse files Browse the repository at this point in the history
…one that allows for users to access it as default
  • Loading branch information
craigpaul committed Nov 27, 2023
1 parent 57d84c5 commit f043ec0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/BlitzServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ class BlitzServiceProvider extends ServiceProvider
*/
public function boot()
{
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__.'/../config/blitz.php',
]);
}
$this->mergeConfigFrom(__DIR__.'/../config/blitz.php', 'blitz');

if (! $this->app['config']->get('blitz.enabled')) {
return;
Expand Down

0 comments on commit f043ec0

Please sign in to comment.