@shopify/cli-kit 3.45.1 → 3.45.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.
@@ -21,8 +21,12 @@ module ShopifyCLI
21
21
 
22
22
  # Proxy the request, and replace the URLs in the response
23
23
  status, headers, body = @app.call(env)
24
- body = replace_font_urls(body)
25
- [status, headers, body]
24
+ content_type = headers["Content-Type"] || headers["content-type"]
25
+ if content_type.nil? || content_type == "" || content_type&.start_with?("text/")
26
+ [status, headers, replace_font_urls(body)]
27
+ else
28
+ [status, headers, body]
29
+ end
26
30
  end
27
31
 
28
32
  private
@@ -1 +1 @@
1
- export declare const CLI_KIT_VERSION = "3.45.1";
1
+ export declare const CLI_KIT_VERSION = "3.45.3";
@@ -1,2 +1,2 @@
1
- export const CLI_KIT_VERSION = '3.45.1';
1
+ export const CLI_KIT_VERSION = '3.45.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/public/common/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAA","sourcesContent":["export const CLI_KIT_VERSION = '3.45.1'\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/public/common/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAA","sourcesContent":["export const CLI_KIT_VERSION = '3.45.3'\n"]}