Skip to content

Commit

Permalink
Fixed get integrity when using mix version() (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
Glennmen authored Apr 14, 2020
1 parent 8b4a1fd commit 6aa763a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SriServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private function removeQuotes(string $path): string

private function parseAndGenerateUrl(string $path, string $href, bool $crossOrigin): HtmlString
{
$integrity = SriFacade::html($href, $crossOrigin);
$integrity = SriFacade::html($path, $crossOrigin);

if (Str::endsWith($path, 'css')) {
return $this->generateCssUrl($href, $integrity);
Expand Down

0 comments on commit 6aa763a

Please sign in to comment.