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
|
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue