@sanity/client 6.0.2-beta.0 → 6.0.2-beta.1

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.
@@ -834,7 +834,7 @@ function _requestObservable(client, httpRequest, options) {
834
834
  ...options.query
835
835
  };
836
836
  }
837
- if (canUseCdn) {
837
+ if (["GET", "HEAD"].indexOf(options.method || "GET") >= 0 && uri.indexOf("/data/query/") === 0) {
838
838
  if (config.resultSourceMap) {
839
839
  options.query = {
840
840
  resultSourceMap: true,