@nextclaw/server 0.20.2 → 0.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7967,7 +7967,7 @@ const NO_STORE_CACHE_CONTROL = "no-store";
7967
7967
  const IMMUTABLE_UI_ASSET_CACHE_CONTROL = "public, max-age=31536000, immutable";
7968
7968
  const CONTENT_HASHED_UI_ASSET_PATTERN = /-[A-Za-z0-9_-]{8}\.[^./]+$/;
7969
7969
  function resolveUiStaticCacheControl(pathname) {
7970
- return pathname.startsWith("/assets/") && CONTENT_HASHED_UI_ASSET_PATTERN.test(pathname) ? IMMUTABLE_UI_ASSET_CACHE_CONTROL : NO_STORE_CACHE_CONTROL;
7970
+ return CONTENT_HASHED_UI_ASSET_PATTERN.test(pathname) ? IMMUTABLE_UI_ASSET_CACHE_CONTROL : NO_STORE_CACHE_CONTROL;
7971
7971
  }
7972
7972
  function buildVaryHeader(current, value) {
7973
7973
  if (!current) return value;