Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ class ServiceProvider extends LaravelServiceProvider
public function boot()
{
// declare the configuration files available for publishing.
$this->publishes([__DIR__.'../config/jwt.php'], 'config');
$this->publishes([
__DIR__.'../config/jwt.php' => config_path('jwt.php')
]);

// case enabled, setups a guard match by middleware group name.
$this->setupGuardMiddlewareMatch();
Expand Down Expand Up @@ -105,4 +107,4 @@ protected function setupGuardMiddlewareMatch()
});
}
}
}
}