File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11; ( function ( ) {
22 var iframeLoader = new window . ChatBotUiLoader . IframeLoader ( )
33
4+ const iframeOrigin = document . head . querySelector (
5+ 'meta[name="page-chatbot-origin"]' ) ?. content ||
6+ 'https://d2sozpdiqok6m4.cloudfront.net'
7+
48 const origin = window . parent . origin
59 var chatbotUiconfig = {
610 ui : {
2630 enableLiveChat : false ,
2731 } ,
2832 iframe : {
29- iframeOrigin : 'https://d2sozpdiqok6m4.cloudfront.net' ,
33+ iframeOrigin,
3034 shouldLoadIframeMinimized : true ,
3135 iframeSrcPath : '/#/?lexWebUiEmbed=true&parentOrigin=' + origin ,
3236 } ,
Original file line number Diff line number Diff line change 6262<meta name =" dcterms.identifier" content =" {{ page.version }} " >
6363<meta name =" page-url" content =" {{ page.url }} " >
6464<meta name =" page-nav-header-levels" content =" {{ or page.attributes.nav-header-levels 0 }} " >
65+ <meta name =" page-chatbot-origin" content =" {{ page.attributes.chatbot-origin }} " >
6566
6667{{! meta tags starting docsearch: are automatically extracted by Algolia }}
6768{{! docsearch:version has special handling so we use `cversion` }}
You can’t perform that action at this time.
0 commit comments