This commit is contained in:
E. S. 2024-03-13 01:29:24 +00:00
parent abe9d549ad
commit 21a745dcc0

View File

@ -170,7 +170,7 @@ function cssLink(string $name, string $theme, &$bname = null): string {
function cssPrefetchLink(string $name): string {
$url = '/dist-css/'.$name.'.css?'.getStaticVersion('css/'.$name.'.css');
$integrity = getStaticIntegrityAttribute($name);
$integrity = getStaticIntegrityAttribute($name.'.css');
return <<<HTML
<link rel="prefetch" href="{$url}"{$integrity} />
HTML;