change(ui): use or script path from .env
This commit is contained in:
parent
b7577c9bd9
commit
7d835a652d
3 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ function AssistScript(props) {
|
|||
r.issue=function(k,p){r.push([6,k,p])};
|
||||
r.isActive=function(){return false};
|
||||
r.getSessionToken=function(){};
|
||||
})(0, "${props.projectKey}", "//static.openreplay.com/3.4.9/openreplay-assist.js",1,28);
|
||||
})(0, "${props.projectKey}", "${window.env.TRACKER_HOST || '//static.openreplay.com'}/${window.env.TRACKER_VERSION}/openreplay-assist.js", 1, 28);
|
||||
</script>`}
|
||||
</Highlight>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ const ProjectCodeSnippet = props => {
|
|||
r.issue=function(k,p){r.push([6,k,p])};
|
||||
r.isActive=function(){return false};
|
||||
r.getSessionToken=function(){};
|
||||
})("//static.openreplay.com/${window.env.TRACKER_VERSION}/openreplay.js",1,0,initOpts,startOpts);
|
||||
})("${window.env.TRACKER_HOST || '//static.openreplay.com'}/${window.env.TRACKER_VERSION}/openreplay.js",1,0,initOpts,startOpts);
|
||||
</script>`;
|
||||
|
||||
const saveGDPR = (value) => {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ function CodeSnippet(props: Props) {
|
|||
r.issue=function(k,p){r.push([6,k,p])};
|
||||
r.isActive=function(){return false};
|
||||
r.getSessionToken=function(){};
|
||||
})("//static.openreplay.com/${window.env.TRACKER_VERSION}/openreplay.js",1,0,initOpts,startOpts);
|
||||
})("${window.env.TRACKER_HOST || '//static.openreplay.com'}/${window.env.TRACKER_VERSION}/openreplay.js",1,0,initOpts,startOpts);
|
||||
</script>`;
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue