Skip to content

Commit

Permalink
Fix script tag
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianSchoeps authored Dec 8, 2021
1 parent cbc9d3f commit 1dca1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Components/Snippet.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function render()
file_put_contents($filepath, $minifiedJavascript);
}

return '@push("' . config('js-snippets.stack') . '")<script src="' . url(config('js-snippets.url') . '/' . $hash . '.js') . '"/>' . PHP_EOL . '@endpush';
return '@push("' . config('js-snippets.stack') . '")<script src="' . url(config('js-snippets.url') . '/' . $hash . '.js') . '"></script>' . PHP_EOL . '@endpush';
};
}
}

0 comments on commit 1dca1a7

Please sign in to comment.