@canopy-iiif/app 1.9.20 → 1.9.21

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.
@@ -209,6 +209,10 @@ var Viewer = (props) => {
209
209
  DEFAULT_VIEWER_OPTIONS,
210
210
  props && props.options
211
211
  );
212
+ const crossOriginExplicitlyUndefined = props && props.options && Object.prototype.hasOwnProperty.call(props.options, "crossOrigin") && props.options.crossOrigin === void 0;
213
+ if (crossOriginExplicitlyUndefined) {
214
+ mergedOptions.crossOrigin = null;
215
+ }
212
216
  useEffect(() => {
213
217
  let mounted = true;
214
218
  const canUseDom = typeof window !== "undefined" && typeof document !== "undefined";