correct embed url
This commit is contained in:
parent
623149dc17
commit
f1de59e368
@ -1552,10 +1552,10 @@
|
||||
const embedUrl = `${protocol}//embed.${hostname}`;
|
||||
const theme = this.theme !== 'system' ? ` data-theme="${this.theme}"` : '';
|
||||
|
||||
widgetCode.textContent = `<script src="${embedUrl}/dog-calculator-widget.js"></script>
|
||||
widgetCode.textContent = `<script src="${embedUrl}/dog-calorie-calculator/dog-calculator-widget.js"></script>
|
||||
<div id="dog-calorie-calculator"${theme}></div>`;
|
||||
|
||||
iframeCode.textContent = `<iframe src="${embedUrl}/iframe.html${this.theme !== 'system' ? '?theme=' + this.theme : ''}"
|
||||
iframeCode.textContent = `<iframe src="${embedUrl}/dog-calorie-calculator/iframe.html${this.theme !== 'system' ? '?theme=' + this.theme : ''}"
|
||||
width="100%" height="600"
|
||||
frameborder="0"
|
||||
title="Dog Calorie Calculator">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user