We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e18855a + adca16e commit 23dc661Copy full SHA for 23dc661
src/ServiceProvider.php
@@ -34,7 +34,9 @@ class ServiceProvider extends LaravelServiceProvider
34
public function boot()
35
{
36
// declare the configuration files available for publishing.
37
- $this->publishes([__DIR__.'../config/jwt.php'], 'config');
+ $this->publishes([
38
+ __DIR__.'../config/jwt.php' => config_path('jwt.php')
39
+ ]);
40
41
// case enabled, setups a guard match by middleware group name.
42
$this->setupGuardMiddlewareMatch();
@@ -105,4 +107,4 @@ protected function setupGuardMiddlewareMatch()
105
107
});
106
108
}
109
-}
110
+}
0 commit comments