fix: Remove root URI on frontend

Removes appending root URI in `img src` from frontend which broke the rendering
of S3 URLs in campaign templates.

Closes https://github.com/knadh/listmonk/issues/101
This commit is contained in:
Karan Sharma 2020-05-16 19:22:56 +05:30
parent e58b2fa669
commit 23faa9f127
1 changed files with 1 additions and 1 deletions

View File

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