Merge pull request #22 from alresiainc/1.x

[minor] correct publishing the config file not working
This commit is contained in:
Italo
2022-10-28 16:30:17 -03:00
committed by GitHub

View File

@@ -46,6 +46,7 @@ class WebAuthnServiceProvider extends ServiceProvider
$this->publishesMigrations(static::MIGRATIONS); $this->publishesMigrations(static::MIGRATIONS);
$this->publishes([static::ROUTES => $this->app->basePath('routes/webauthn.php')], 'routes'); $this->publishes([static::ROUTES => $this->app->basePath('routes/webauthn.php')], 'routes');
// @phpstan-ignore-next-line // @phpstan-ignore-next-line
$this->publishes([static::CONFIG => $this->app->configPath('webauthn.php')], 'config');
$this->publishes([static::CONTROLLERS => $this->app->path('Http/Controllers/WebAuthn')], 'controllers'); $this->publishes([static::CONTROLLERS => $this->app->path('Http/Controllers/WebAuthn')], 'controllers');
$this->publishes([static::JS => $this->app->resourcePath('js/vendor/webauthn')], 'js'); $this->publishes([static::JS => $this->app->resourcePath('js/vendor/webauthn')], 'js');
} }