Skip to content

Commit

Permalink
fix usingLaravelConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
medilies committed Aug 13, 2024
1 parent 229b76d commit 47f75e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xssless.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function usingLaravelConfig(): static
throw new XsslessException('xssless.default must be a string.');
}

$config = config("xssless.{$driver}");
$config = config("xssless.drivers.{$driver}");

if (! $config instanceof ConfigInterface) {
throw new XsslessException("xssless.drivers.{$driver} must implement: ".ConfigInterface::class);
Expand Down

0 comments on commit 47f75e4

Please sign in to comment.