|
@@ -119,8 +119,9 @@ export const isSizeChanged = ({ height, previousHeight, width, previousWidth })
|
119
|
119
|
export const reduceData = props => {
|
120
|
120
|
const { source } = props;
|
121
|
121
|
const script = getScript(props);
|
122
|
|
- if (source.html) {
|
123
|
|
- return { currentSource: { html: getInjectedSource({ html: source.html, script }) } };
|
|
122
|
+ const { html, baseUrl } = source;
|
|
123
|
+ if (html) {
|
|
124
|
+ return { currentSource: { baseUrl, html: getInjectedSource({ html, script }) } };
|
124
|
125
|
} else {
|
125
|
126
|
return {
|
126
|
127
|
currentSource: source,
|