Skip to content

Commit

Permalink
not require laravel config publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
medilies committed Aug 13, 2024
1 parent c9beb72 commit 63ed838
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/laravel/XsslessServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class XsslessServiceProvider extends ServiceProvider
{
public function register(): void
{
$this->mergeConfigFrom(__DIR__.'/config/xssless.php', 'xssless');

$this->app->bind(
Xssless::class,
fn () => (new Xssless)->usingLaravelConfig()
Expand Down

0 comments on commit 63ed838

Please sign in to comment.