Skip to content

Commit 23dc661

Browse files
author
Diego Hernandes
authored
Merge pull request #4 from mrberggg/patch-1
Fix vendor:publish "Can't locate path: <0>" bug
2 parents e18855a + adca16e commit 23dc661

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ServiceProvider.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ class ServiceProvider extends LaravelServiceProvider
3434
public function boot()
3535
{
3636
// declare the configuration files available for publishing.
37-
$this->publishes([__DIR__.'../config/jwt.php'], 'config');
37+
$this->publishes([
38+
__DIR__.'../config/jwt.php' => config_path('jwt.php')
39+
]);
3840

3941
// case enabled, setups a guard match by middleware group name.
4042
$this->setupGuardMiddlewareMatch();
@@ -105,4 +107,4 @@ protected function setupGuardMiddlewareMatch()
105107
});
106108
}
107109
}
108-
}
110+
}

0 commit comments

Comments
 (0)