Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Revert canvas img crossOrigin attr to Anonymous. (#3848)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenba committed Dec 8, 2017
1 parent d04ec7e commit 3ca96cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/pages/shot/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ exports.Editor = class Editor extends React.Component {
this.highlightContext = this.highlighter.getContext('2d');
let imageContext = this.imageCanvas.getContext('2d');
let img = new Image();
img.crossOrigin = 'use-credentials';
img.crossOrigin = 'Anonymous';
let width = this.props.clip.image.dimensions.x;
let height = this.props.clip.image.dimensions.y;
img.onload = () => {
Expand Down

0 comments on commit 3ca96cc

Please sign in to comment.