Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

fix: Remove root URI on frontend

Karan Sharma23faa9f12778
diff --git a/frontend/src/Campaign.js b/frontend/src/Campaign.js
index cf48234c..e6aa6d13 100644
--- a/frontend/src/Campaign.js
+++ b/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
)
}