Ver código fonte

Merge pull request #104 from mr-karan/master

fix: Remove root URI on frontend
Kailash Nadh 5 anos atrás
pai
commit
1e61760338
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      frontend/src/Campaign.js

+ 1 - 1
frontend/src/Campaign.js

@@ -91,7 +91,7 @@ class Editor extends React.PureComponent {
       new Delta()
         .retain(range.index)
         .delete(range.length)
-        .insert({ image: this.props.config.rootURL + uri }),
+        .insert({ image: uri }),
       null
     )
   }