From 30f841c5f8037cae6713e698d150d3eaa28c94a6 Mon Sep 17 00:00:00 2001 From: "E. S." Date: Thu, 15 May 2025 16:52:22 +0300 Subject: [PATCH] skin: temporarily disable assets' integrify attributes --- src/engine/skin/FeaturedSkin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/skin/FeaturedSkin.php b/src/engine/skin/FeaturedSkin.php index 8922346..51a0f45 100644 --- a/src/engine/skin/FeaturedSkin.php +++ b/src/engine/skin/FeaturedSkin.php @@ -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)).'"';