skin: temporarily disable assets' integrify attributes

This commit is contained in:
E. S. 2025-05-15 16:52:22 +03:00
parent 2464ea59bb
commit 30f841c5f8

View File

@ -294,7 +294,7 @@ HTML;
}
protected function getStaticIntegrityAttribute(string $name): string {
if (isDev())
if (isDev() || true)
return '';
global $config, $globalContext;
return ' integrity="'.implode(' ', array_map(fn($hash_type) => $hash_type.'-'.$config['assets'][$globalContext->project][$name]['integrity'][$hash_type], self::RESOURCE_INTEGRITY_HASHES)).'"';