diff options
author | madelinegr <mgriswold99@gmail.com> | 2019-02-18 18:01:47 -0500 |
---|---|---|
committer | madelinegr <mgriswold99@gmail.com> | 2019-02-18 18:01:47 -0500 |
commit | 281f6268238c4f9f1640899ce258535ad4fe2401 (patch) | |
tree | 40cc489c27aa268873825d727047bdfde01855bf /src/client/views/nodes/WebBox.tsx | |
parent | 837509322d7e556830c57653828e223b06eb38a6 (diff) |
tried to get around cors with crossorigin.me
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index f50f8c60e..b9d0853b9 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -62,7 +62,7 @@ export class WebBox extends React.Component<FieldViewProps> { render() { let field = this.props.doc.Get(this.props.fieldKey); let path = field == FieldWaiting ? "https://image.flaticon.com/icons/svg/66/66163.svg" : - field instanceof WebField ? field.Data.href : "https://cs.brown.edu/"; + field instanceof WebField ? field.Data.href : "https://crossorigin.me/" + "https://cs.brown.edu"; let nativeWidth = this.props.doc.GetNumber(KeyStore.NativeWidth, 1); return ( |