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:
parent
e58b2fa669
commit
23faa9f127
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue